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

Unified Diff: mojo/shell/fetcher/about_fetcher_unittest.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
Index: mojo/shell/fetcher/about_fetcher_unittest.cc
diff --git a/mojo/shell/fetcher/about_fetcher_unittest.cc b/mojo/shell/fetcher/about_fetcher_unittest.cc
index ba7714a05d83ac357dd609ebc33acc1c3c30df08..9835e5cf9de8a2c99c9155686ae023782382d866 100644
--- a/mojo/shell/fetcher/about_fetcher_unittest.cc
+++ b/mojo/shell/fetcher/about_fetcher_unittest.cc
@@ -43,7 +43,7 @@ class TestContentHandler : public ShellClient,
// Overridden from ShellClient:
void Initialize(Shell* shell, const std::string& url, uint32_t id) override {}
bool AcceptConnection(Connection* connection) override {
- connection->AddService<mojom::ContentHandler>(this);
+ connection->AddInterface<mojom::ContentHandler>(this);
return true;
}
« no previous file with comments | « mojo/shell/capability_filter_test.cc ('k') | mojo/shell/package_manager/capability_filter_content_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698