| 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 b1abb79aa04bbc026eb3bafc61782a1a98084ab2..8a98bed8e2af3700b5e9b754b8c39e06917538dc 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,
|
| @@ -328,8 +329,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,
|
|
|