diff options
Diffstat (limited to 'components/resource_provider')
| -rw-r--r-- | components/resource_provider/resource_provider_app.cc | 5 | ||||
| -rw-r--r-- | components/resource_provider/resource_provider_app.h | 1 | ||||
| -rw-r--r-- | components/resource_provider/resource_provider_test_app.cc | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/components/resource_provider/resource_provider_app.cc b/components/resource_provider/resource_provider_app.cc index 18b4e42..cd16a98 100644 --- a/components/resource_provider/resource_provider_app.cc +++ b/components/resource_provider/resource_provider_app.cc @@ -37,11 +37,6 @@ bool ResourceProviderApp::AcceptConnection(mojo::Connection* connection) { return true; } -void ResourceProviderApp::ShellConnectionLost() { - // TODO: This should exit cleanly. - _exit(1); -} - void ResourceProviderApp::Create( mojo::Connection* connection, mojo::InterfaceRequest<ResourceProvider> request) { diff --git a/components/resource_provider/resource_provider_app.h b/components/resource_provider/resource_provider_app.h index 96d6125..10f7602 100644 --- a/components/resource_provider/resource_provider_app.h +++ b/components/resource_provider/resource_provider_app.h @@ -28,7 +28,6 @@ class ResourceProviderApp : public mojo::ShellClient, void Initialize(mojo::Connector* connector, const mojo::Identity& identity, uint32_t id) override; bool AcceptConnection(mojo::Connection* connection) override; - void ShellConnectionLost() override; // mojo::InterfaceFactory<ResourceProvider>: void Create(mojo::Connection* connection, diff --git a/components/resource_provider/resource_provider_test_app.cc b/components/resource_provider/resource_provider_test_app.cc index ab0147f..2c78352 100644 --- a/components/resource_provider/resource_provider_test_app.cc +++ b/components/resource_provider/resource_provider_test_app.cc @@ -99,9 +99,6 @@ class TestApp : public mojo::ShellClient, connection->AddInterface<mojom::Test>(this); return true; } - void ShellConnectionLost() override { - base::MessageLoop::current()->QuitWhenIdle(); - } // InterfaceFactory<mojom::Test>: void Create(mojo::Connection* connection, |
