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

Unified Diff: mojo/shell/dynamic_application_loader.cc

Issue 672363002: Make skydb load examples/home.sky by default. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | sky/examples/home.sky » ('j') | sky/examples/home.sky » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/dynamic_application_loader.cc
diff --git a/mojo/shell/dynamic_application_loader.cc b/mojo/shell/dynamic_application_loader.cc
index cc574e5233662e0c05caf193e9406a1ea07f8dab..e1baea487dd0ed42dd5a15cc3fab5e2291bca6e9 100644
--- a/mojo/shell/dynamic_application_loader.cc
+++ b/mojo/shell/dynamic_application_loader.cc
@@ -173,6 +173,9 @@ class DynamicApplicationLoader::NetworkLoader : public Loader {
load_callbacks_->LoadWithContentHandler(iter->second, response.Pass());
return;
}
+ LOG(ERROR) << "Failed to find content handler for " << response->mime_type
+ << " from " << response->url << std::endl
+ << "INSECURELY LOADING AS EXECUTABLE CODE INSTEAD" << std::endl;
Aaron Boodman 2014/10/31 16:14:48 Did you mean this as just temporary until sandboxi
base::CreateTemporaryFile(&file_);
common::CopyToFile(
« no previous file with comments | « no previous file | sky/examples/home.sky » ('j') | sky/examples/home.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698