diff options
| author | sky <sky@chromium.org> | 2016-03-22 14:44:16 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-03-22 21:45:57 +0000 |
| commit | 340545a9d2c2bf94d93421bbb6bfa40596ae4523 (patch) | |
| tree | 7e13a15630e87d0c8c0bd19a2bacd1062eebdbbf /components/resource_provider/resource_provider_app.cc | |
| parent | 56d49295ef5c22d1fbc71d491494944cf1709bb3 (diff) | |
| download | chromium_src-340545a9d2c2bf94d93421bbb6bfa40596ae4523.zip chromium_src-340545a9d2c2bf94d93421bbb6bfa40596ae4523.tar.gz chromium_src-340545a9d2c2bf94d93421bbb6bfa40596ae4523.tar.bz2 | |
Quit the message loop by default in ShellConnectionLost when ApplicationRunner is used
This was originally at https://codereview.chromium.org/1814223002/ , but Ben is out and
I need this for tests, so I'm taking over.
BUG=none
TEST=covered by tests
TBR=ben@chromium.org
R=ben@chromium.org
Committed: https://crrev.com/a50f9840749052fbdec087a304548217cc6fd00b
Cr-Commit-Position: refs/heads/master@{#382389}
Review URL: https://codereview.chromium.org/1819063002
Cr-Commit-Position: refs/heads/master@{#382688}
Diffstat (limited to 'components/resource_provider/resource_provider_app.cc')
| -rw-r--r-- | components/resource_provider/resource_provider_app.cc | 5 |
1 files changed, 0 insertions, 5 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) { |
