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

Unified Diff: mojo/application/application_test_main_chromium.cc

Issue 1057603003: Simplify mojo_shell since it's now only used for Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update scripts Created 5 years, 8 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/application/application_test_base_chromium.cc ('k') | mojo/services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application/application_test_main_chromium.cc
diff --git a/mojo/application/application_test_main_chromium.cc b/mojo/application/application_test_main_chromium.cc
index 4ce761a8a36ffa7a741c862cc82623a30a6f2c7e..3d6c4b2ccc687592d67f8d02e87d5f55bcd7cebb 100644
--- a/mojo/application/application_test_main_chromium.cc
+++ b/mojo/application/application_test_main_chromium.cc
@@ -5,8 +5,9 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/test/test_timeouts.h"
+#include "mojo/application/application_runner_chromium.h"
+#include "mojo/application/application_test_base_chromium.h"
#include "mojo/public/c/system/main.h"
-#include "mojo/public/cpp/application/application_test_base.h"
MojoResult MojoMain(MojoHandle handle) {
// An AtExitManager instance is needed to construct message loops.
@@ -14,7 +15,7 @@ MojoResult MojoMain(MojoHandle handle) {
// Initialize test timeouts, which requires CommandLine::ForCurrentProcess().
// TODO(msw): Plumb relevant command line args before initializing timeouts.
- base::CommandLine::Init(0, nullptr);
+ mojo::ApplicationRunnerChromium::InitBaseCommandLine();
TestTimeouts::Initialize();
return mojo::test::RunAllTests(handle);
« no previous file with comments | « mojo/application/application_test_base_chromium.cc ('k') | mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698