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

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

Issue 3108042: Support sending BlobData to browser process. Also support sending UploadData... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « chrome/browser/chrome_blob_storage_context.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.h
===================================================================
--- chrome/browser/net/chrome_url_request_context.h (revision 57697)
+++ chrome/browser/net/chrome_url_request_context.h (working copy)
@@ -13,6 +13,7 @@
#include "base/file_path.h"
#include "base/linked_ptr.h"
#include "chrome/browser/appcache/chrome_appcache_service.h"
+#include "chrome/browser/chrome_blob_storage_context.h"
#include "chrome/browser/host_content_settings_map.h"
#include "chrome/browser/host_zoom_map.h"
#include "chrome/browser/io_thread.h"
@@ -111,6 +112,11 @@
return database_tracker_.get();
}
+ // Gets the blob storage context associated with this context's profile.
+ ChromeBlobStorageContext* blob_storage_context() const {
+ return blob_storage_context_.get();
+ }
+
bool is_off_the_record() const {
return is_off_the_record_;
}
@@ -213,6 +219,9 @@
void set_database_tracker(webkit_database::DatabaseTracker* tracker) {
database_tracker_ = tracker;
}
+ void set_blob_storage_context(ChromeBlobStorageContext* context) {
+ blob_storage_context_ = context;
+ }
void set_net_log(net::NetLog* net_log) {
net_log_ = net_log;
}
@@ -238,6 +247,7 @@
scoped_refptr<ChromeCookiePolicy> chrome_cookie_policy_;
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
scoped_refptr<HostZoomMap> host_zoom_map_;
+ scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
bool is_media_;
bool is_off_the_record_;
@@ -400,6 +410,7 @@
scoped_refptr<net::TransportSecurityState> transport_security_state_;
scoped_refptr<net::SSLConfigService> ssl_config_service_;
scoped_refptr<net::CookieMonster::Delegate> cookie_monster_delegate_;
+ scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
FilePath profile_dir_path_;
« no previous file with comments | « chrome/browser/chrome_blob_storage_context.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