summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/filesystem/file_system_app.cc4
-rw-r--r--components/filesystem/file_system_app.h2
-rw-r--r--components/font_service/font_service_app.cc4
-rw-r--r--components/font_service/font_service_app.h1
-rw-r--r--components/leveldb/leveldb_app.cc5
-rw-r--r--components/leveldb/leveldb_app.h1
-rw-r--r--components/mus/mus_app.cc5
-rw-r--r--components/mus/mus_app.h1
-rw-r--r--components/resource_provider/resource_provider_app.cc5
-rw-r--r--components/resource_provider/resource_provider_app.h1
-rw-r--r--components/resource_provider/resource_provider_test_app.cc3
11 files changed, 0 insertions, 32 deletions
diff --git a/components/filesystem/file_system_app.cc b/components/filesystem/file_system_app.cc
index 2163351..92f78b7 100644
--- a/components/filesystem/file_system_app.cc
+++ b/components/filesystem/file_system_app.cc
@@ -55,10 +55,6 @@ void FileSystemApp::Create(mojo::Connection* connection,
lock_table_);
}
-void FileSystemApp::ShellConnectionLost() {
- _exit(1);
-}
-
//static
base::FilePath FileSystemApp::GetUserDataDir() {
base::FilePath path;
diff --git a/components/filesystem/file_system_app.h b/components/filesystem/file_system_app.h
index 5e297ad..5b1d866 100644
--- a/components/filesystem/file_system_app.h
+++ b/components/filesystem/file_system_app.h
@@ -34,8 +34,6 @@ class FileSystemApp : 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;
-
// |InterfaceFactory<Files>| implementation:
void Create(mojo::Connection* connection,
mojo::InterfaceRequest<FileSystem> request) override;
diff --git a/components/font_service/font_service_app.cc b/components/font_service/font_service_app.cc
index 5942cb1..6e73b99 100644
--- a/components/font_service/font_service_app.cc
+++ b/components/font_service/font_service_app.cc
@@ -69,10 +69,6 @@ bool FontServiceApp::AcceptConnection(mojo::Connection* connection) {
return true;
}
-void FontServiceApp::ShellConnectionLost() {
- _exit(1);
-}
-
void FontServiceApp::Create(mojo::Connection* connection,
mojo::InterfaceRequest<FontService> request) {
bindings_.AddBinding(this, std::move(request));
diff --git a/components/font_service/font_service_app.h b/components/font_service/font_service_app.h
index b7537da..957f231 100644
--- a/components/font_service/font_service_app.h
+++ b/components/font_service/font_service_app.h
@@ -30,7 +30,6 @@ class FontServiceApp : 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<FontService>:
void Create(mojo::Connection* connection,
diff --git a/components/leveldb/leveldb_app.cc b/components/leveldb/leveldb_app.cc
index ac2855f..e216391 100644
--- a/components/leveldb/leveldb_app.cc
+++ b/components/leveldb/leveldb_app.cc
@@ -25,11 +25,6 @@ bool LevelDBApp::AcceptConnection(mojo::Connection* connection) {
return true;
}
-void LevelDBApp::ShellConnectionLost() {
- // TODO: This should exit cleanly.
- _exit(1);
-}
-
void LevelDBApp::Create(mojo::Connection* connection,
leveldb::LevelDBServiceRequest request) {
if (!service_)
diff --git a/components/leveldb/leveldb_app.h b/components/leveldb/leveldb_app.h
index 6db5194..26a1152 100644
--- a/components/leveldb/leveldb_app.h
+++ b/components/leveldb/leveldb_app.h
@@ -25,7 +25,6 @@ class LevelDBApp : public mojo::ShellClient,
const mojo::Identity& identity,
uint32_t id) override;
bool AcceptConnection(mojo::Connection* connection) override;
- void ShellConnectionLost() override;
// |InterfaceFactory<LevelDBService>| implementation:
void Create(mojo::Connection* connection,
diff --git a/components/mus/mus_app.cc b/components/mus/mus_app.cc
index 8128d02..6d15e5b 100644
--- a/components/mus/mus_app.cc
+++ b/components/mus/mus_app.cc
@@ -171,11 +171,6 @@ bool MandolineUIServicesApp::AcceptConnection(Connection* connection) {
return true;
}
-void MandolineUIServicesApp::ShellConnectionLost() {
- // TODO: This should exit cleanly.
- _exit(1);
-}
-
void MandolineUIServicesApp::OnFirstDisplayReady() {
PendingRequests requests;
requests.swap(pending_requests_);
diff --git a/components/mus/mus_app.h b/components/mus/mus_app.h
index e217fba..c66267f 100644
--- a/components/mus/mus_app.h
+++ b/components/mus/mus_app.h
@@ -75,7 +75,6 @@ class MandolineUIServicesApp
void Initialize(mojo::Connector* connector, const mojo::Identity& identity,
uint32_t id) override;
bool AcceptConnection(mojo::Connection* connection) override;
- void ShellConnectionLost() override;
// WindowServerDelegate:
void OnFirstDisplayReady() override;
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,