diff options
Diffstat (limited to 'components/filesystem')
-rw-r--r-- | components/filesystem/file_system_app.cc | 4 | ||||
-rw-r--r-- | components/filesystem/file_system_app.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/components/filesystem/file_system_app.cc b/components/filesystem/file_system_app.cc index 9fe694c..9ec3806 100644 --- a/components/filesystem/file_system_app.cc +++ b/components/filesystem/file_system_app.cc @@ -55,6 +55,10 @@ void FileSystemApp::Create(mojo::Connection* connection, lock_table_.get()); } +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 91c18bc..1eb65c3 100644 --- a/components/filesystem/file_system_app.h +++ b/components/filesystem/file_system_app.h @@ -34,6 +34,7 @@ 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, |