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

Unified Diff: testing/android/native_test_launcher.cc

Issue 819223002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
« no previous file with comments | « no previous file | tools/android/common/daemon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/android/native_test_launcher.cc
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc
index b7c9d28f30787e2415cbfb90add46e776baf46ac..26553c9a05de00d163ad21e8794bfae0a940be90 100644
--- a/testing/android/native_test_launcher.cc
+++ b/testing/android/native_test_launcher.cc
@@ -126,7 +126,7 @@ static void RunTests(JNIEnv* env,
// Command line initialized basically, will be fully initialized later.
static const char* const kInitialArgv[] = { "ChromeTestActivity" };
- CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
+ base::CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
// Set the application context in base.
base::android::ScopedJavaLocalRef<jobject> scoped_context(
@@ -151,9 +151,10 @@ static void RunTests(JNIEnv* env,
int argc = ArgsToArgv(args, &argv);
// Fully initialize command line with arguments.
- CommandLine::ForCurrentProcess()->AppendArguments(
- CommandLine(argc, &argv[0]), false);
- const CommandLine& command_line = *CommandLine::ForCurrentProcess();
+ base::CommandLine::ForCurrentProcess()->AppendArguments(
+ base::CommandLine(argc, &argv[0]), false);
+ const base::CommandLine& command_line =
+ *base::CommandLine::ForCurrentProcess();
base::FilePath files_dir(
base::android::ConvertJavaStringToUTF8(env, jfiles_dir));
« no previous file with comments | « no previous file | tools/android/common/daemon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698