Index: mojo/application_manager/application_manager.h |
diff --git a/mojo/application_manager/application_manager.h b/mojo/application_manager/application_manager.h |
index 0a8906adc94abaa2ac5374661048f3ae585413cc..a3d62937c2006e874ea8e491212d894e5edfd07b 100644 |
--- a/mojo/application_manager/application_manager.h |
+++ b/mojo/application_manager/application_manager.h |
@@ -47,13 +47,14 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationManager { |
DISALLOW_COPY_AND_ASSIGN(TestAPI); |
}; |
- ApplicationManager(Delegate* delegate); |
+ explicit ApplicationManager(Delegate* delegate); |
~ApplicationManager(); |
// Loads a service if necessary and establishes a new client connection. |
void ConnectToApplication(const GURL& application_url, |
const GURL& requestor_url, |
- ServiceProviderPtr service_provider); |
+ InterfaceRequest<ServiceProvider> services, |
+ ServiceProviderPtr exposed_services); |
template <typename Interface> |
inline void ConnectToService(const GURL& application_url, |
@@ -107,13 +108,15 @@ class MOJO_APPLICATION_MANAGER_EXPORT ApplicationManager { |
void ConnectToApplicationImpl(const GURL& requested_url, |
const GURL& resolved_url, |
const GURL& requestor_url, |
- ServiceProviderPtr service_provider, |
+ InterfaceRequest<ServiceProvider> services, |
+ ServiceProviderPtr exposed_services, |
ApplicationLoader* loader); |
void ConnectToClient(ShellImpl* shell_impl, |
const GURL& url, |
const GURL& requestor_url, |
- ServiceProviderPtr service_provider); |
+ InterfaceRequest<ServiceProvider> services, |
+ ServiceProviderPtr exposed_services); |
void LoadWithContentHandler(const GURL& content_handler_url, |
ScopedMessagePipeHandle shell_handle, |