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

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

Issue 1231493002: mandoline filesystem: Save cookie data to the mojo:filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 5 years, 5 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
Index: mojo/services/network/network_context.h
diff --git a/mojo/services/network/network_context.h b/mojo/services/network/network_context.h
index 96e8d684457efeee1fd1f181f9515477bb0639b9..07a99cf30a9a3970231a4d2993f104ca019fb71d 100644
--- a/mojo/services/network/network_context.h
+++ b/mojo/services/network/network_context.h
@@ -8,7 +8,9 @@
#include <set>
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/sequenced_task_runner.h"
namespace base {
class FilePath;
@@ -21,12 +23,16 @@ class URLRequestContext;
namespace mojo {
class URLLoader;
class URLLoaderImpl;
+class NetworkServiceDelegate;
class NetworkContext {
public:
explicit NetworkContext(
scoped_ptr<net::URLRequestContext> url_request_context);
- explicit NetworkContext(const base::FilePath& base_path);
+ NetworkContext(
+ const base::FilePath& base_path,
+ const scoped_refptr<base::SequencedTaskRunner>& background_task_runner,
+ NetworkServiceDelegate* delegate);
~NetworkContext();
net::URLRequestContext* url_request_context() {
@@ -43,7 +49,9 @@ class NetworkContext {
size_t GetURLLoaderCountForTesting();
static scoped_ptr<net::URLRequestContext> MakeURLRequestContext(
- const base::FilePath& base_path);
+ const base::FilePath& base_path,
+ const scoped_refptr<base::SequencedTaskRunner>& background_task_runner,
+ NetworkServiceDelegate* delegate);
class MojoNetLog;
scoped_ptr<class MojoNetLog> net_log_;

Powered by Google App Engine
This is Rietveld 408576698