| Index: trunk/src/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
|
| ===================================================================
|
| --- trunk/src/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc (revision 288042)
|
| +++ trunk/src/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc (working copy)
|
| @@ -53,12 +53,9 @@
|
|
|
| private:
|
| // Overridden from ServiceLoader:
|
| - virtual void Load(ServiceManager* manager,
|
| - const GURL& url,
|
| - scoped_refptr<LoadCallbacks> callbacks) OVERRIDE {
|
| - ScopedMessagePipeHandle shell_handle = callbacks->RegisterApplication();
|
| - if (!shell_handle.is_valid())
|
| - return;
|
| + virtual void LoadService(ServiceManager* manager,
|
| + const GURL& url,
|
| + ScopedMessagePipeHandle shell_handle) OVERRIDE {
|
| scoped_ptr<ApplicationImpl> app(new ApplicationImpl(this,
|
| shell_handle.Pass()));
|
| apps_.push_back(app.release());
|
|
|