summaryrefslogtreecommitdiffstats
path: root/mojo/common
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/common
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/common')
-rw-r--r--mojo/common/test/multiprocess_test_helper.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/mojo/common/test/multiprocess_test_helper.cc b/mojo/common/test/multiprocess_test_helper.cc
index ae7acae..7e9df3e 100644
--- a/mojo/common/test/multiprocess_test_helper.cc
+++ b/mojo/common/test/multiprocess_test_helper.cc
@@ -33,7 +33,8 @@ void MultiprocessTestHelper::StartChild(const std::string& test_child_name) {
std::string test_child_main = test_child_name + "TestChildMain";
- CommandLine command_line(base::GetMultiProcessTestChildBaseCommandLine());
+ base::CommandLine command_line(
+ base::GetMultiProcessTestChildBaseCommandLine());
embedder::HandlePassingInformation handle_passing_info;
platform_channel_pair_->PrepareToPassClientHandleToChildProcess(
&command_line, &handle_passing_info);
@@ -72,10 +73,10 @@ bool MultiprocessTestHelper::WaitForChildTestShutdown() {
// static
void MultiprocessTestHelper::ChildSetup() {
- CHECK(CommandLine::InitializedForCurrentProcess());
+ CHECK(base::CommandLine::InitializedForCurrentProcess());
client_platform_handle =
embedder::PlatformChannelPair::PassClientHandleFromParentProcess(
- *CommandLine::ForCurrentProcess());
+ *base::CommandLine::ForCurrentProcess());
}
// static