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

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

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/common/client_util.h ('k') | services/shell/runner/host/child_process.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.cc
diff --git a/services/shell/runner/common/client_util.cc b/services/shell/runner/common/client_util.cc
index 46eac2133c69082c31025bb6535a4e66f8be5d1d..c2dd7bdd7b82eec3e57e0bb755d993d3221fe014 100644
--- a/services/shell/runner/common/client_util.cc
+++ b/services/shell/runner/common/client_util.cc
@@ -12,23 +12,23 @@
namespace shell {
-mojom::ShellClientPtr PassShellClientRequestOnCommandLine(
+mojom::ServicePtr PassServiceRequestOnCommandLine(
base::CommandLine* command_line, const std::string& child_token) {
std::string token = mojo::edk::GenerateRandomToken();
command_line->AppendSwitchASCII(switches::kPrimordialPipeToken, token);
- mojom::ShellClientPtr client;
+ mojom::ServicePtr client;
client.Bind(
- mojom::ShellClientPtrInfo(
+ mojom::ServicePtrInfo(
mojo::edk::CreateParentMessagePipe(token, child_token), 0));
return client;
}
-mojom::ShellClientRequest GetShellClientRequestFromCommandLine() {
+mojom::ServiceRequest GetServiceRequestFromCommandLine() {
std::string token =
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kPrimordialPipeToken);
- mojom::ShellClientRequest request;
+ mojom::ServiceRequest request;
if (!token.empty())
request.Bind(mojo::edk::CreateChildMessagePipe(token));
return request;
« no previous file with comments | « services/shell/runner/common/client_util.h ('k') | services/shell/runner/host/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698