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

Unified Diff: content/browser/renderer_host/resource_message_filter.h

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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: content/browser/renderer_host/resource_message_filter.h
===================================================================
--- content/browser/renderer_host/resource_message_filter.h (revision 156155)
+++ content/browser/renderer_host/resource_message_filter.h (working copy)
@@ -15,6 +15,9 @@
class URLRequestContext;
} // namespace net
+class ChromeAppCacheService;
+class ChromeBlobStorageContext;
+
namespace content {
class ResourceContext;
@@ -42,6 +45,8 @@
int child_id,
ProcessType process_type,
ResourceContext* resource_context,
+ ChromeAppCacheService* appcache_service,
+ ChromeBlobStorageContext* blob_storage_context,
URLRequestContextSelector* url_request_context_selector);
// BrowserMessageFilter implementation.
@@ -53,6 +58,14 @@
return resource_context_;
}
+ ChromeAppCacheService* appcache_service() const {
+ return appcache_service_;
+ }
+
+ ChromeBlobStorageContext* blob_storage_context() const {
+ return blob_storage_context_;
+ }
+
// Returns the net::URLRequestContext for the given request.
net::URLRequestContext* GetURLRequestContext(
ResourceType::Type request_type);
@@ -73,6 +86,9 @@
// Owned by ProfileIOData* which is guaranteed to outlive us.
ResourceContext* resource_context_;
+ scoped_refptr<ChromeAppCacheService> appcache_service_;
+ scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
+
const scoped_ptr<URLRequestContextSelector> url_request_context_selector_;
DISALLOW_IMPLICIT_CONSTRUCTORS(ResourceMessageFilter);

Powered by Google App Engine
This is Rietveld 408576698