summaryrefslogtreecommitdiffstats
path: root/mojo/embedder
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-24 12:19:58 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-24 12:19:58 +0000
commit7cb2c679519e8f0d63f0648902e0ce2c9244a1ab (patch)
tree73e5a50812fd667583a207003a38a85abbf88e11 /mojo/embedder
parentf95da62fc7a0b0aa0ffe51ac72b2159409dd3717 (diff)
downloadchromium_src-7cb2c679519e8f0d63f0648902e0ce2c9244a1ab.zip
chromium_src-7cb2c679519e8f0d63f0648902e0ce2c9244a1ab.tar.gz
chromium_src-7cb2c679519e8f0d63f0648902e0ce2c9244a1ab.tar.bz2
Cleanup: Use base::CommandLine in mojo/
Review URL: https://codereview.chromium.org/292743017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/embedder')
-rw-r--r--mojo/embedder/platform_channel_pair_posix.cc4
-rw-r--r--mojo/embedder/platform_channel_pair_win.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/mojo/embedder/platform_channel_pair_posix.cc b/mojo/embedder/platform_channel_pair_posix.cc
index 2d5e2ca..4eaea47 100644
--- a/mojo/embedder/platform_channel_pair_posix.cc
+++ b/mojo/embedder/platform_channel_pair_posix.cc
@@ -60,7 +60,7 @@ PlatformChannelPair::PlatformChannelPair() {
// static
ScopedPlatformHandle PlatformChannelPair::PassClientHandleFromParentProcess(
- const CommandLine& command_line) {
+ const base::CommandLine& command_line) {
std::string client_fd_string =
command_line.GetSwitchValueASCII(kMojoPlatformChannelHandleSwitch);
int client_fd = -1;
@@ -75,7 +75,7 @@ ScopedPlatformHandle PlatformChannelPair::PassClientHandleFromParentProcess(
}
void PlatformChannelPair::PrepareToPassClientHandleToChildProcess(
- CommandLine* command_line,
+ base::CommandLine* command_line,
base::FileHandleMappingVector* handle_passing_info) const {
DCHECK(command_line);
DCHECK(handle_passing_info);
diff --git a/mojo/embedder/platform_channel_pair_win.cc b/mojo/embedder/platform_channel_pair_win.cc
index 2248d31..f3eee92 100644
--- a/mojo/embedder/platform_channel_pair_win.cc
+++ b/mojo/embedder/platform_channel_pair_win.cc
@@ -73,7 +73,7 @@ PlatformChannelPair::PlatformChannelPair() {
// static
ScopedPlatformHandle PlatformChannelPair::PassClientHandleFromParentProcess(
- const CommandLine& command_line) {
+ const base::CommandLine& command_line) {
std::string client_handle_string =
command_line.GetSwitchValueASCII(kMojoPlatformChannelHandleSwitch);
@@ -89,7 +89,7 @@ ScopedPlatformHandle PlatformChannelPair::PassClientHandleFromParentProcess(
}
void PlatformChannelPair::PrepareToPassClientHandleToChildProcess(
- CommandLine* command_line,
+ base::CommandLine* command_line,
base::HandlesToInheritVector* handle_passing_info) const {
DCHECK(command_line);
DCHECK(handle_passing_info);