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

Unified Diff: services/tracing/service.cc

Issue 2420253002: Rename shell namespace to service_manager (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 | « services/tracing/service.h ('k') | services/ui/clipboard/clipboard_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/tracing/service.cc
diff --git a/services/tracing/service.cc b/services/tracing/service.cc
index a52961bc0b32e635a9ed83095b2e287394c582e2..a12a4067df43104e5eb14e5e71e083719d777001 100644
--- a/services/tracing/service.cc
+++ b/services/tracing/service.cc
@@ -19,8 +19,8 @@ namespace tracing {
Service::Service() : collector_binding_(this), tracing_active_(false) {}
Service::~Service() {}
-bool Service::OnConnect(const shell::Identity& remote_identity,
- shell::InterfaceRegistry* registry) {
+bool Service::OnConnect(const service_manager::Identity& remote_identity,
+ service_manager::InterfaceRegistry* registry) {
registry->AddInterface<mojom::Factory>(this);
registry->AddInterface<mojom::Collector>(this);
registry->AddInterface<mojom::StartupPerformanceDataCollector>(this);
@@ -35,19 +35,18 @@ bool Service::OnStop() {
return false;
}
-void Service::Create(const shell::Identity& remote_identity,
+void Service::Create(const service_manager::Identity& remote_identity,
mojom::FactoryRequest request) {
bindings_.AddBinding(this, std::move(request));
}
-void Service::Create(const shell::Identity& remote_identity,
+void Service::Create(const service_manager::Identity& remote_identity,
mojom::CollectorRequest request) {
collector_binding_.Bind(std::move(request));
}
-void Service::Create(
- const shell::Identity& remote_identity,
- mojom::StartupPerformanceDataCollectorRequest request) {
+void Service::Create(const service_manager::Identity& remote_identity,
+ mojom::StartupPerformanceDataCollectorRequest request) {
startup_performance_data_collector_bindings_.AddBinding(this,
std::move(request));
}
« no previous file with comments | « services/tracing/service.h ('k') | services/ui/clipboard/clipboard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698