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

Unified Diff: services/shell/public/cpp/lib/callback_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/public/cpp/interface_registry.h ('k') | services/shell/public/cpp/lib/callback_binder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/lib/callback_binder.h
diff --git a/services/shell/public/cpp/lib/callback_binder.h b/services/shell/public/cpp/lib/callback_binder.h
index c960e070b4d8fd6bbde6e5c48b4bcb82c713c149..87cb043922d151b65719acae22b743e9c90c380f 100644
--- a/services/shell/public/cpp/lib/callback_binder.h
+++ b/services/shell/public/cpp/lib/callback_binder.h
@@ -30,7 +30,7 @@ class CallbackBinder : public InterfaceBinder {
private:
// InterfaceBinder:
void BindInterface(
- Connection* connection,
+ const Identity& remote_identity,
const std::string& interface_name,
mojo::ScopedMessagePipeHandle handle) override {
mojo::InterfaceRequest<Interface> request =
@@ -67,9 +67,9 @@ class GenericCallbackBinder : public InterfaceBinder {
private:
// InterfaceBinder:
- void BindInterface(Connection* connection,
- const std::string& interface_name,
- mojo::ScopedMessagePipeHandle handle) override;
+ void BindInterface(const shell::Identity& remote_identity,
+ const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle handle) override;
static void RunCallbackOnTaskRunner(
const BindCallback& callback,
« no previous file with comments | « services/shell/public/cpp/interface_registry.h ('k') | services/shell/public/cpp/lib/callback_binder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698