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

Unified Diff: services/service_manager/public/cpp/lib/service_context.cc

Issue 2850743004: Replace ServiceInfo with BindSourceInfo. (Closed)
Patch Set: . Created 3 years, 8 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: services/service_manager/public/cpp/lib/service_context.cc
diff --git a/services/service_manager/public/cpp/lib/service_context.cc b/services/service_manager/public/cpp/lib/service_context.cc
index 0b53f8c71010c36e31fb16877949b8380731929b..06de17f08426c3c64118b4ec1ab9e301272aafe0 100644
--- a/services/service_manager/public/cpp/lib/service_context.cc
+++ b/services/service_manager/public/cpp/lib/service_context.cc
@@ -73,16 +73,16 @@ void ServiceContext::QuitNow() {
////////////////////////////////////////////////////////////////////////////////
// ServiceContext, mojom::Service implementation:
-void ServiceContext::OnStart(const ServiceInfo& info,
+void ServiceContext::OnStart(const Identity& identity,
const OnStartCallback& callback) {
- local_info_ = info;
+ identity_ = identity;
callback.Run(std::move(pending_connector_request_),
mojo::MakeRequest(&service_control_));
service_->OnStart();
}
void ServiceContext::OnBindInterface(
- const ServiceInfo& source_info,
+ const BindSourceInfo& source_info,
const std::string& interface_name,
mojo::ScopedMessagePipeHandle interface_pipe,
const OnBindInterfaceCallback& callback) {
« no previous file with comments | « services/service_manager/public/cpp/lib/service.cc ('k') | services/service_manager/public/cpp/lib/service_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698