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

Unified Diff: mojo/common/test/multiprocess_test_helper.cc

Issue 292743017: Cleanup: Use base::CommandLine in mojo/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | « no previous file | mojo/embedder/platform_channel_pair_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/test/multiprocess_test_helper.cc
===================================================================
--- mojo/common/test/multiprocess_test_helper.cc (revision 272151)
+++ mojo/common/test/multiprocess_test_helper.cc (working copy)
@@ -33,7 +33,8 @@
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 @@
// static
void MultiprocessTestHelper::ChildSetup() {
- CHECK(CommandLine::InitializedForCurrentProcess());
+ CHECK(base::CommandLine::InitializedForCurrentProcess());
client_platform_handle =
embedder::PlatformChannelPair::PassClientHandleFromParentProcess(
- *CommandLine::ForCurrentProcess());
+ *base::CommandLine::ForCurrentProcess());
}
// static
« no previous file with comments | « no previous file | mojo/embedder/platform_channel_pair_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698