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

Unified Diff: mojo/shell/shell_test_base.cc

Issue 323593002: Mojo: Use network service to load non-local Mojo Apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
« no previous file with comments | « mojo/shell/run.cc ('k') | mojo/shell/storage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_test_base.cc
diff --git a/mojo/shell/shell_test_base.cc b/mojo/shell/shell_test_base.cc
index ebe3405169fa5d1e2b456e8cbe2606b851a517ff..b4f0e4b646ab8c396b79006399a8e639d62df479 100644
--- a/mojo/shell/shell_test_base.cc
+++ b/mojo/shell/shell_test_base.cc
@@ -46,7 +46,8 @@ void ShellTestBase::LaunchServiceInProcess(
// On Linux, they're under lib/.
base::FilePath service_dir(base_dir.AppendASCII("lib"));
#endif
- shell_context_->set_mojo_origin(net::FilePathToFileURL(service_dir).spec());
+ shell_context_->mojo_url_resolver()->set_origin(
+ net::FilePathToFileURL(service_dir).spec());
shell_context_->service_manager()->ConnectToService(
service_url, service_name, client_handle.Pass(), GURL());
« no previous file with comments | « mojo/shell/run.cc ('k') | mojo/shell/storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698