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

Unified Diff: components/html_viewer/blink_platform_impl.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/html_viewer/ax_provider_apptest.cc ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/blink_platform_impl.cc
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
index 1a8d15938bc9da9ba3f6e08ceae1c6e627505515..53df0ed33441fc5e7e71f752e4a9666083b2f319 100644
--- a/components/html_viewer/blink_platform_impl.cc
+++ b/components/html_viewer/blink_platform_impl.cc
@@ -80,11 +80,11 @@ BlinkPlatformImpl::BlinkPlatformImpl(
if (shell) {
scoped_ptr<mojo::Connection> connection =
shell->Connect("mojo:network_service");
- connection->ConnectToService(&web_socket_factory_);
- connection->ConnectToService(&url_loader_factory_);
+ connection->GetInterface(&web_socket_factory_);
+ connection->GetInterface(&url_loader_factory_);
mojo::CookieStorePtr cookie_store;
- connection->ConnectToService(&cookie_store);
+ connection->GetInterface(&cookie_store);
cookie_jar_.reset(new WebCookieJarImpl(std::move(cookie_store)));
mojo::ClipboardPtr clipboard;
« no previous file with comments | « components/html_viewer/ax_provider_apptest.cc ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698