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

Unified Diff: mojo/services/test_service/test_request_tracker_application.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/test_service/test_request_tracker_application.cc
diff --git a/mojo/services/test_service/test_request_tracker_application.cc b/mojo/services/test_service/test_request_tracker_application.cc
index 4e657cb4bc990b7df64afd68e0cebfd5050690be..55246e678dac99f79f98338b70464360abaaa1b7 100644
--- a/mojo/services/test_service/test_request_tracker_application.cc
+++ b/mojo/services/test_service/test_request_tracker_application.cc
@@ -28,9 +28,9 @@ void TestRequestTrackerApplication::Initialize(Shell* shell,
bool TestRequestTrackerApplication::AcceptConnection(Connection* connection) {
// Every instance of the service and recorder shares the context.
// Note, this app is single-threaded, so this is thread safe.
- connection->AddService<TestTimeService>(this);
- connection->AddService<TestRequestTracker>(this);
- connection->AddService<TestTrackedRequestService>(this);
+ connection->AddInterface<TestTimeService>(this);
+ connection->AddInterface<TestRequestTracker>(this);
+ connection->AddInterface<TestTrackedRequestService>(this);
return true;
}
« no previous file with comments | « mojo/services/network/network_service_delegate.cc ('k') | mojo/services/test_service/test_service_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698