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

Unified Diff: services/service_manager/embedder/set_process_title.h

Issue 2613653003: Move some basic early process init into Service Manager (Closed)
Patch Set: fix mac shutdown order Created 3 years, 9 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/embedder/set_process_title.h
diff --git a/content/common/set_process_title.h b/services/service_manager/embedder/set_process_title.h
similarity index 75%
rename from content/common/set_process_title.h
rename to services/service_manager/embedder/set_process_title.h
index 91ea61a89a1a5795fb0aba513c652f73831fbedd..27fe092785ac66bb97caef05cd1d58284070cb99 100644
--- a/content/common/set_process_title.h
+++ b/services/service_manager/embedder/set_process_title.h
@@ -2,10 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_SET_PROCESS_TITLE_H_
-#define CONTENT_COMMON_SET_PROCESS_TITLE_H_
+#ifndef SERVICES_SERVICE_MANAGER_EMBEDDER_SET_PROCESS_TITLE_H_
+#define SERVICES_SERVICE_MANAGER_EMBEDDER_SET_PROCESS_TITLE_H_
+
+#include "services/service_manager/embedder/service_manager_embedder_export.h"
+
+namespace service_manager {
-namespace content {
// Sets OS-specific process title information based on the command line. This
// does nothing if the OS doesn't support or need this capability.
//
@@ -20,8 +23,9 @@ namespace content {
// makes the process name that shows up in "ps" etc. for the child processes
// show as "exe" instead of "chrome" or something reasonable. This function
// will try to fix it so the "effective" command line shows up instead.
+SERVICE_MANAGER_EMBEDDER_EXPORT
void SetProcessTitleFromCommandLine(const char** main_argv);
-} // namespace content
+} // namespace service_manager
-#endif // CONTENT_COMMON_SET_PROCESS_TITLE_H_
+#endif // SERVICES_SERVICE_MANAGER_EMBEDDER_SET_PROCESS_TITLE_H_

Powered by Google App Engine
This is Rietveld 408576698