ApplicationConnection devolution, part 1.

Remove everything from ApplicationConnection other than
GetServiceProviderImpl() (which is a pure virtual method) and
AddService<I>() (which is a templated method).

R=vardhan@google.com

Review URL: https://codereview.chromium.org/1977043002 .
diff --git a/shell/application_manager/application_manager_unittest.cc b/shell/application_manager/application_manager_unittest.cc
index 7dec43d..8ea79c0 100644
--- a/shell/application_manager/application_manager_unittest.cc
+++ b/shell/application_manager/application_manager_unittest.cc
@@ -314,15 +314,16 @@
   }
 
   bool ConfigureIncomingConnection(ApplicationConnection* connection) override {
-    if (!requestor_url_.empty() &&
-        requestor_url_ != connection->GetRemoteApplicationURL()) {
+    const std::string& remote_url =
+        connection->GetServiceProviderImpl().connection_context().remote_url;
+    if (!requestor_url_.empty() && requestor_url_ != remote_url) {
       context_->set_tester_called_quit();
       context_->QuitSoon();
       base::MessageLoop::current()->Quit();
       return false;
     }
     // If we're coming from A, then add B, otherwise A.
-    if (connection->GetRemoteApplicationURL() == kTestAURLString)
+    if (remote_url == kTestAURLString)
       connection->AddService<TestB>(this);
     else
       connection->AddService<TestA>(this);