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

Unified Diff: mojo/shell/connect_util.h

Issue 1728083002: Extract a Connector interface from Shell that can be cloned & passed to other threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@12uid
Patch Set: . Created 4 years, 10 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 | « mojo/shell/connect_params.cc ('k') | mojo/shell/identity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/connect_util.h
diff --git a/mojo/shell/connect_util.h b/mojo/shell/connect_util.h
index baa4d2ee832c3fa48836e61ff45d69c317c9e803..14c32077a7d5a829137414025cc6c633c3f162c9 100644
--- a/mojo/shell/connect_util.h
+++ b/mojo/shell/connect_util.h
@@ -45,7 +45,7 @@ inline void ConnectToInterface(ApplicationManager* application_manager,
InterfacePtr<Interface>* ptr) {
ScopedMessagePipeHandle service_handle = ConnectToInterfaceByName(
application_manager, source,
- Identity(application_url, std::string(), mojom::Shell::kUserInherit,
+ Identity(application_url, std::string(), mojom::Connector::kUserInherit,
GetPermissiveCapabilityFilter()),
Interface::Name_);
ptr->Bind(InterfacePtrInfo<Interface>(std::move(service_handle), 0u));
« no previous file with comments | « mojo/shell/connect_params.cc ('k') | mojo/shell/identity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698