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

Unified Diff: components/devtools_service/devtools_service_delegate.cc

Issue 1681813002: Rename Connection::AddService/ConnectToService to Connection::AddInterface/GetInterface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface_binder
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 | « components/clipboard/clipboard_application_delegate.cc ('k') | components/filesystem/file_system_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/devtools_service/devtools_service_delegate.cc
diff --git a/components/devtools_service/devtools_service_delegate.cc b/components/devtools_service/devtools_service_delegate.cc
index d4384ccbbd0be78c796c769019c04e6bcf27ef26..9e3dc5ff6fddd36481739824c8da5c3ca72b3c63 100644
--- a/components/devtools_service/devtools_service_delegate.cc
+++ b/components/devtools_service/devtools_service_delegate.cc
@@ -39,12 +39,12 @@ void DevToolsServiceDelegate::Initialize(mojo::Shell* shell,
}
bool DevToolsServiceDelegate::AcceptConnection(mojo::Connection* connection) {
- connection->AddService<DevToolsRegistry>(this);
+ connection->AddInterface<DevToolsRegistry>(this);
// DevToolsCoordinator is a privileged interface and only allowed for the
// shell.
if (IsShell(GURL(connection->GetRemoteApplicationURL())))
- connection->AddService<DevToolsCoordinator>(this);
+ connection->AddInterface<DevToolsCoordinator>(this);
return true;
}
« no previous file with comments | « components/clipboard/clipboard_application_delegate.cc ('k') | components/filesystem/file_system_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698