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

Unified Diff: mojo/application/public/cpp/application_runner.h

Issue 1149833007: Embed a mojo ApplicationManager in content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: mojo/application/public/cpp/application_runner.h
diff --git a/mojo/application/public/cpp/application_runner.h b/mojo/application/public/cpp/application_runner.h
index 0341c90a18a9ca0359c0159c71f936be5c5f67bd..90329a94f017915833c71fac29f4df1bd456966e 100644
--- a/mojo/application/public/cpp/application_runner.h
+++ b/mojo/application/public/cpp/application_runner.h
@@ -37,6 +37,13 @@ class ApplicationRunner {
// Once the various parameters have been set above, use Run to initialize an
// ApplicationImpl wired to the provided delegate, and run a MessageLoop until
// the application exits.
+ //
+ // Iff |init_base| is true, the runner will perform some initialization of
+ // base globals (e.g. CommandLine and AtExitManager) before starting the
+ // application.
+ MojoResult Run(MojoHandle shell_handle, bool init_base);
+
+ // Calls Run above with |init_base| set to |true|.
MojoResult Run(MojoHandle shell_handle);
private:

Powered by Google App Engine
This is Rietveld 408576698