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

Unified Diff: mojo/shell/android/mojo_main.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 | « mojo/services/view_manager/main.cc ('k') | mojo/shell/child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/android/mojo_main.cc
===================================================================
--- mojo/shell/android/mojo_main.cc (revision 272151)
+++ mojo/shell/android/mojo_main.cc (working copy)
@@ -38,14 +38,14 @@
LazyInstance<scoped_ptr<mojo::Environment> > g_env =
LAZY_INSTANCE_INITIALIZER;
-} // namspace
+} // namespace
static void Init(JNIEnv* env, jclass clazz, jobject context) {
base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context);
base::android::InitApplicationContext(env, scoped_context);
- CommandLine::Init(0, 0);
+ base::CommandLine::Init(0, 0);
mojo::shell::InitializeLogging();
g_java_message_loop.Get().reset(new base::MessageLoopForUI);
@@ -71,7 +71,7 @@
std::vector<std::string> argv;
argv.push_back("mojo_shell");
argv.push_back(app_url);
- CommandLine::ForCurrentProcess()->InitFromArgv(argv);
+ base::CommandLine::ForCurrentProcess()->InitFromArgv(argv);
}
g_env.Get().reset(new Environment);
« no previous file with comments | « mojo/services/view_manager/main.cc ('k') | mojo/shell/child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698