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

Unified Diff: mojo/services/network/network_context.h

Issue 858093002: Update the network service from the Mojo repo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « mojo/services/network/android_hooks.cc ('k') | mojo/services/network/network_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/network_context.h
diff --git a/mojo/services/network/network_context.h b/mojo/services/network/network_context.h
index 19245f4b584e7376f401dd0f6c1345bf6c888efb..817579e335ce3bca3d77cfcd7df690a5e9776c7b 100644
--- a/mojo/services/network/network_context.h
+++ b/mojo/services/network/network_context.h
@@ -20,6 +20,8 @@ namespace mojo {
class NetworkContext {
public:
+ explicit NetworkContext(
+ scoped_ptr<net::URLRequestContext> url_request_context);
explicit NetworkContext(const base::FilePath& base_path);
~NetworkContext();
@@ -28,6 +30,9 @@ class NetworkContext {
}
private:
+ static scoped_ptr<net::URLRequestContext> MakeURLRequestContext(
+ const base::FilePath& base_path);
+
scoped_ptr<net::URLRequestContext> url_request_context_;
DISALLOW_COPY_AND_ASSIGN(NetworkContext);
« no previous file with comments | « mojo/services/network/android_hooks.cc ('k') | mojo/services/network/network_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698