Index: mojo/service_manager/service_manager_unittest.cc |
diff --git a/mojo/service_manager/service_manager_unittest.cc b/mojo/service_manager/service_manager_unittest.cc |
index 8f7d83d01347e9de4cd31a6e3e3b309ee820d06a..9ab8634e9a845c23b6fe194b35bf1da142dc3791 100644 |
--- a/mojo/service_manager/service_manager_unittest.cc |
+++ b/mojo/service_manager/service_manager_unittest.cc |
@@ -121,9 +121,10 @@ class TestServiceLoader : public ServiceLoader, |
virtual void LoadService( |
ServiceManager* manager, |
const GURL& url, |
- ScopedMessagePipeHandle service_provider_handle) OVERRIDE { |
+ scoped_refptr<LoadServiceCallbacks> callbacks) OVERRIDE { |
++num_loads_; |
- test_app_.reset(new ApplicationImpl(this, service_provider_handle.Pass())); |
+ test_app_.reset( |
+ new ApplicationImpl(this, callbacks->RegisterApplication().Pass())); |
} |
virtual void OnServiceError(ServiceManager* manager, |
@@ -335,8 +336,9 @@ class Tester : public ApplicationDelegate, |
virtual void LoadService( |
ServiceManager* manager, |
const GURL& url, |
- ScopedMessagePipeHandle shell_handle) OVERRIDE { |
- app_.reset(new ApplicationImpl(this, shell_handle.Pass())); |
+ scoped_refptr<LoadServiceCallbacks> callbacks) OVERRIDE { |
+ app_.reset( |
+ new ApplicationImpl(this, callbacks->RegisterApplication().Pass())); |
} |
virtual void OnServiceError(ServiceManager* manager, |