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

Unified Diff: components/resource_provider/resource_provider_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/resource_provider/resource_provider_app.h ('k') | content/browser/mojo/mojo_child_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/resource_provider/resource_provider_app.cc
diff --git a/components/resource_provider/resource_provider_app.cc b/components/resource_provider/resource_provider_app.cc
index cd16a9889432c95bc516c82612aa3fc6952c4063..18b4e42f3a6ea005fa72cb6ad30b2b728792f73a 100644
--- a/components/resource_provider/resource_provider_app.cc
+++ b/components/resource_provider/resource_provider_app.cc
@@ -37,6 +37,11 @@ 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) {
« no previous file with comments | « components/resource_provider/resource_provider_app.h ('k') | content/browser/mojo/mojo_child_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698