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

Unified Diff: services/shell/runner/common/client_util.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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/shell/runner/child/test_native_main.cc ('k') | services/shell/runner/common/client_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/common/client_util.h
diff --git a/services/shell/runner/common/client_util.h b/services/shell/runner/common/client_util.h
index 638b63e36248ee61f86a0b8afa93e35ad78ad47b..04ad29d3f265ea59f04a451031fad638994ae8dc 100644
--- a/services/shell/runner/common/client_util.h
+++ b/services/shell/runner/common/client_util.h
@@ -7,7 +7,7 @@
#include <string>
-#include "services/shell/public/interfaces/shell_client.mojom.h"
+#include "services/shell/public/interfaces/service.mojom.h"
namespace base {
class CommandLine;
@@ -15,19 +15,19 @@ class CommandLine;
namespace shell {
-// Creates a new ShellClient pipe and returns one end of it. The other end is
+// Creates a new Service pipe and returns one end of it. The other end is
// passed via a token in |command_line|. A child of the calling process may
-// extract a ShellClientRequest from this by calling
-// GetShellClientRequestFromCommandLine().
-mojom::ShellClientPtr PassShellClientRequestOnCommandLine(
+// extract a ServiceRequest from this by calling
+// GetServiceRequestFromCommandLine().
+mojom::ServicePtr PassServiceRequestOnCommandLine(
base::CommandLine* command_line, const std::string& child_token);
-// Extracts a ShellClientRequest from the command line of the current process.
+// Extracts a ServiceRequest from the command line of the current process.
// The parent of this process should have passed a request using
-// PassShellClientRequestOnCommandLine().
-mojom::ShellClientRequest GetShellClientRequestFromCommandLine();
+// PassServiceRequestOnCommandLine().
+mojom::ServiceRequest GetServiceRequestFromCommandLine();
-// Returns true if the ShellClientRequest came via the command line from a shell
+// Returns true if the ServiceRequest came via the command line from a shell
// instance in another process.
bool ShellIsRemote();
« no previous file with comments | « services/shell/runner/child/test_native_main.cc ('k') | services/shell/runner/common/client_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698