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

Unified Diff: content/public/test/test_service.cc

Issue 2435153004: Change Service contract to pass ServiceInfo instead of Identity (Closed)
Patch Set: . Created 4 years, 2 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 | « content/public/test/test_service.h ('k') | mash/app_driver/app_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_service.cc
diff --git a/content/public/test/test_service.cc b/content/public/test/test_service.cc
index 11c3bc7c56982a87f7cd823fa74f46e9c48876cf..10c4045805755e0fb744105cbbfbf5c3cb7e1585 100644
--- a/content/public/test/test_service.cc
+++ b/content/public/test/test_service.cc
@@ -21,9 +21,9 @@ TestService::TestService() : service_binding_(this) {
TestService::~TestService() {
}
-bool TestService::OnConnect(const service_manager::Identity& remote_identity,
+bool TestService::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
- requestor_name_ = remote_identity.name();
+ requestor_name_ = remote_info.identity.name();
registry->AddInterface<mojom::TestService>(this);
return true;
}
« no previous file with comments | « content/public/test/test_service.h ('k') | mash/app_driver/app_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698