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

Unified Diff: components/web_view/test_runner/launcher.cc

Issue 1630823002: Move mojo/runner to mojo/shell/standalone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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 | « components/web_view/test_runner/DEPS ('k') | components/web_view/test_runner/register_local_aliases.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/test_runner/launcher.cc
diff --git a/components/web_view/test_runner/launcher.cc b/components/web_view/test_runner/launcher.cc
index 115835b1fd57ce4344df9a54b51e9636d7ebea39..3fa9af47fe421836d41fed54cc5a1a40dcc94a8a 100644
--- a/components/web_view/test_runner/launcher.cc
+++ b/components/web_view/test_runner/launcher.cc
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
-#include "mojo/runner/context.h"
+#include "mojo/shell/standalone/context.h"
#include "url/gurl.h"
namespace web_view {
@@ -15,7 +15,7 @@ namespace web_view {
int LaunchTestRunner(int argc, char** argv) {
// We want the runner::Context to outlive the MessageLoop so that pipes are
// all gracefully closed / error-out before we try to shut the Context down.
- mojo::runner::Context shell_context;
+ mojo::shell::Context shell_context;
{
base::MessageLoop message_loop;
base::FilePath shell_dir;
@@ -25,7 +25,7 @@ int LaunchTestRunner(int argc, char** argv) {
}
message_loop.PostTask(FROM_HERE,
- base::Bind(&mojo::runner::Context::Run,
+ base::Bind(&mojo::shell::Context::Run,
base::Unretained(&shell_context),
GURL("mojo:web_view_test_runner")));
message_loop.Run();
« no previous file with comments | « components/web_view/test_runner/DEPS ('k') | components/web_view/test_runner/register_local_aliases.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698