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

Unified Diff: services/service_manager/runner/common/client_util.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
Index: services/service_manager/runner/common/client_util.cc
diff --git a/services/service_manager/runner/common/client_util.cc b/services/service_manager/runner/common/client_util.cc
index c83f9ef91f95a047c2e19273f489af41ac9ca022..082d30696606b49d5cc21662419d11cc4204f040 100644
--- a/services/service_manager/runner/common/client_util.cc
+++ b/services/service_manager/runner/common/client_util.cc
@@ -10,7 +10,7 @@
#include "mojo/edk/embedder/embedder.h"
#include "services/service_manager/runner/common/switches.h"
-namespace shell {
+namespace service_manager {
mojom::ServicePtr PassServiceRequestOnCommandLine(
base::CommandLine* command_line, const std::string& child_token) {
@@ -34,9 +34,9 @@ mojom::ServiceRequest GetServiceRequestFromCommandLine() {
return request;
}
-bool ShellIsRemote() {
+bool ServiceManagerIsRemote() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kPrimordialPipeToken);
}
-} // namespace shell
+} // namespace service_manager
« no previous file with comments | « services/service_manager/runner/common/client_util.h ('k') | services/service_manager/runner/host/child_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698