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

Unified Diff: mojo/services/network/network_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
Index: mojo/services/network/network_service_delegate.cc
diff --git a/mojo/services/network/network_service_delegate.cc b/mojo/services/network/network_service_delegate.cc
index 8caebfbd01e15a33f06d18260d7256b93fbf8faf..574a14388e84dfc5166a2bc44e6adc96685a3c81 100644
--- a/mojo/services/network/network_service_delegate.cc
+++ b/mojo/services/network/network_service_delegate.cc
@@ -133,10 +133,10 @@ void NetworkServiceDelegate::Initialize(Shell* shell, const std::string& url,
bool NetworkServiceDelegate::AcceptConnection(Connection* connection) {
DCHECK(context_);
- connection->AddService<CookieStore>(this);
- connection->AddService<NetworkService>(this);
- connection->AddService<URLLoaderFactory>(this);
- connection->AddService<WebSocketFactory>(this);
+ connection->AddInterface<CookieStore>(this);
+ connection->AddInterface<NetworkService>(this);
+ connection->AddInterface<URLLoaderFactory>(this);
+ connection->AddInterface<WebSocketFactory>(this);
return true;
}
« no previous file with comments | « mojo/services/network/http_server_apptest.cc ('k') | mojo/services/test_service/test_request_tracker_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698