Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2662)

Unified Diff: components/leveldb/leveldb_app.cc

Issue 1801963002: Change primordial pipes to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase onto catalog CL Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/leveldb/leveldb_app.h ('k') | components/mus/mus_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/leveldb/leveldb_app.cc
diff --git a/components/leveldb/leveldb_app.cc b/components/leveldb/leveldb_app.cc
index 4ac0ca0d83253e52dca0eb910796d05d275a2248..aad49e2882cd472f320252d7ffee99d56b3256a5 100644
--- a/components/leveldb/leveldb_app.cc
+++ b/components/leveldb/leveldb_app.cc
@@ -25,6 +25,11 @@ bool LevelDBApp::AcceptConnection(mojo::Connection* connection) {
return true;
}
+void LevelDBApp::ShellConnectionLost() {
+ // TODO: This should exit cleanly.
+ _exit(1);
+}
+
void LevelDBApp::Create(mojo::Connection* connection,
mojo::InterfaceRequest<LevelDBService> request) {
bindings_.AddBinding(service_.get(), std::move(request));
« no previous file with comments | « components/leveldb/leveldb_app.h ('k') | components/mus/mus_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698