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

Unified Diff: mojo/shell/context.cc

Issue 38303002: Enable Mojo to download from file URLs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « mojo/mojo.gyp ('k') | mojo/shell/loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index 7f7ad79540069e4bfdbfc12bf240690ae721751e..c2e2f9043194b6557de0c385c21a138d86a7b6a5 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -4,6 +4,7 @@
#include "mojo/shell/context.h"
+#include "mojo/shell/network_delegate.h"
#include "mojo/system/core_impl.h"
namespace mojo {
@@ -14,6 +15,7 @@ Context::Context()
storage_(),
loader_(task_runners_.io_runner(),
task_runners_.file_runner(),
+ scoped_ptr<net::NetworkDelegate>(new NetworkDelegate()),
storage_.profile_path()) {
system::CoreImpl::Init();
}
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/shell/loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698