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

Unified Diff: mojo/shell/run.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/out_of_process_dynamic_service_runner.cc ('k') | mojo/shell/shell_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/run.cc
diff --git a/mojo/shell/run.cc b/mojo/shell/run.cc
index 7aa72f15c4aa27a7b430894f19d8846f7208e332..3d6840442bab06d9e323f8d63ff3a9014262ffbf 100644
--- a/mojo/shell/run.cc
+++ b/mojo/shell/run.cc
@@ -23,10 +23,6 @@ void Run(Context* context, const std::vector<GURL>& app_urls) {
for (std::vector<GURL>::const_iterator it = app_urls.begin();
it != app_urls.end();
++it) {
- if (it->scheme() == "mojo" && context->mojo_origin().empty()) {
- LOG(ERROR) << "mojo: URL passed with no origin specified";
- return;
- }
ScopedMessagePipeHandle no_handle;
context->service_manager()->ConnectToService(
*it, std::string(), no_handle.Pass(), GURL());
« no previous file with comments | « mojo/shell/out_of_process_dynamic_service_runner.cc ('k') | mojo/shell/shell_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698