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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 3394003: Add Worker support for FileSystem API. (Closed)
Patch Set: '' Created 10 years, 3 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: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index cd4200c7aba0180e2c97c034cef9a7f9e6df17a0..ebae3779ece153fe42b6e3e0f5c22e3f3a4c8d88 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -14,6 +14,7 @@
#include "base/linked_ptr.h"
#include "chrome/browser/appcache/chrome_appcache_service.h"
#include "chrome/browser/chrome_blob_storage_context.h"
+#include "chrome/browser/file_system/file_system_host_context.h"
#include "chrome/browser/host_content_settings_map.h"
#include "chrome/browser/host_zoom_map.h"
#include "chrome/browser/io_thread.h"
@@ -134,6 +135,11 @@ class ChromeURLRequestContext : public URLRequestContext {
return blob_storage_context_.get();
}
+ // Gets the file system host context with this context's profile.
+ FileSystemHostContext* file_system_host_context() const {
+ return file_system_host_context_.get();
+ }
+
bool is_off_the_record() const {
return is_off_the_record_;
}
@@ -237,6 +243,9 @@ class ChromeURLRequestContext : public URLRequestContext {
void set_blob_storage_context(ChromeBlobStorageContext* context) {
blob_storage_context_ = context;
}
+ void set_file_system_host_context(FileSystemHostContext* context) {
+ file_system_host_context_ = context;
+ }
void set_net_log(net::NetLog* net_log) {
net_log_ = net_log;
}
@@ -263,6 +272,7 @@ class ChromeURLRequestContext : public URLRequestContext {
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
scoped_refptr<HostZoomMap> host_zoom_map_;
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
+ scoped_refptr<FileSystemHostContext> file_system_host_context_;
bool is_media_;
bool is_off_the_record_;
@@ -431,6 +441,7 @@ class ChromeURLRequestContextFactory {
scoped_refptr<net::SSLConfigService> ssl_config_service_;
scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate_;
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
+ scoped_refptr<FileSystemHostContext> file_system_host_context_;
FilePath profile_dir_path_;
« no previous file with comments | « chrome/browser/file_system/file_system_host_context_unittest.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698