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

Unified Diff: services/tracing/service.cc

Issue 2427443002: Replace remaining shell references with 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/BUILD.gn » ('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 a12a4067df43104e5eb14e5e71e083719d777001..2e587ae48f26b1552b66b0b1a55299c3502b3348 100644
--- a/services/tracing/service.cc
+++ b/services/tracing/service.cc
@@ -30,7 +30,7 @@ bool Service::OnConnect(const service_manager::Identity& remote_identity,
bool Service::OnStop() {
// TODO(beng): This is only required because Service isn't run by
// ServiceRunner - instead it's launched automatically by the standalone
- // shell. It shouldn't be.
+ // service manager. It shouldn't be.
base::MessageLoop::current()->QuitWhenIdle();
return false;
}
@@ -138,14 +138,14 @@ void Service::StopAndFlush() {
AllDataCollected();
}
-void Service::SetShellProcessCreationTime(int64_t time) {
- if (startup_performance_times_.shell_process_creation_time == 0)
- startup_performance_times_.shell_process_creation_time = time;
+void Service::SetServiceManagerProcessCreationTime(int64_t time) {
+ if (startup_performance_times_.service_manager_process_creation_time == 0)
+ startup_performance_times_.service_manager_process_creation_time = time;
}
-void Service::SetShellMainEntryPointTime(int64_t time) {
- if (startup_performance_times_.shell_main_entry_point_time == 0)
- startup_performance_times_.shell_main_entry_point_time = time;
+void Service::SetServiceManagerMainEntryPointTime(int64_t time) {
+ if (startup_performance_times_.service_manager_main_entry_point_time == 0)
+ startup_performance_times_.service_manager_main_entry_point_time = time;
}
void Service::SetBrowserMessageLoopStartTicks(int64_t ticks) {
« no previous file with comments | « services/tracing/service.h ('k') | services/ui/clipboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698