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

Unified Diff: services/shell/public/cpp/interface_binder.h

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/shell/background/tests/test_service.cc ('k') | services/shell/public/cpp/interface_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/interface_binder.h
diff --git a/services/shell/public/cpp/interface_binder.h b/services/shell/public/cpp/interface_binder.h
index 9dec4addde66da46954cf633dc20bc9f1e21f9f4..4d864351415ea1bf6d3343246ae7d7f372bd2a6e 100644
--- a/services/shell/public/cpp/interface_binder.h
+++ b/services/shell/public/cpp/interface_binder.h
@@ -11,7 +11,7 @@
namespace shell {
-class Connection;
+class Identity;
class InterfaceBinder {
public:
@@ -20,7 +20,7 @@ class InterfaceBinder {
// Asks the InterfaceBinder to bind an implementation of the specified
// interface to the request passed via |handle|. If the InterfaceBinder binds
// an implementation it must take ownership of the request handle.
- virtual void BindInterface(Connection* connection,
+ virtual void BindInterface(const Identity& remote_identity,
const std::string& interface_name,
mojo::ScopedMessagePipeHandle handle) = 0;
};
« no previous file with comments | « services/shell/background/tests/test_service.cc ('k') | services/shell/public/cpp/interface_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698