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

Unified Diff: content/shell/android/browsertests_apk/content_browser_tests_android.cc

Issue 803813003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
Index: content/shell/android/browsertests_apk/content_browser_tests_android.cc
diff --git a/content/shell/android/browsertests_apk/content_browser_tests_android.cc b/content/shell/android/browsertests_apk/content_browser_tests_android.cc
index 9abc6367c8197440b0b8a1903de3a8e9aff7b7ab..5c77fcdf600ad4309fd48444129cc49463468501 100644
--- a/content/shell/android/browsertests_apk/content_browser_tests_android.cc
+++ b/content/shell/android/browsertests_apk/content_browser_tests_android.cc
@@ -58,7 +58,7 @@ static void RunTests(JNIEnv* env,
jobject app_context) {
// Command line basic initialization, will be fully initialized later.
static const char* const kInitialArgv[] = { "ContentBrowserTestsActivity" };
- CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
+ base::CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
// Set the application context in base.
base::android::ScopedJavaLocalRef<jobject> scoped_context(
@@ -73,8 +73,8 @@ static void RunTests(JNIEnv* env,
int argc = ArgsToArgv(args, &argv);
// Fully initialize command line with arguments.
- CommandLine* command_line = CommandLine::ForCurrentProcess();
- command_line->AppendArguments(CommandLine(argc, &argv[0]), false);
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
+ command_line->AppendArguments(base::CommandLine(argc, &argv[0]), false);
// Append required switches.
command_line->AppendSwitch(content::kSingleProcessTestsFlag);
« no previous file with comments | « content/renderer/scheduler/renderer_scheduler.cc ('k') | content/shell/app/blink_test_platform_support_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698