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

Unified Diff: mojo/shell/package_manager/capability_filter_content_handler_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/package_manager/capability_filter_content_handler_unittest.cc
diff --git a/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc b/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
index 924cba34122877bdc4ef1a5c63ec2839ff2704ff..ac8e1edd791ba55179f170e0580fd84fd85b1da1 100644
--- a/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
+++ b/mojo/shell/package_manager/capability_filter_content_handler_unittest.cc
@@ -87,7 +87,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/fetcher/about_fetcher_unittest.cc ('k') | mojo/shell/package_manager/content_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698