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

Unified Diff: webkit/appcache/appcache_request_handler.h

Issue 8343018: More groundwork for flat file based response storage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « webkit/appcache/appcache_interfaces.cc ('k') | webkit/appcache/appcache_request_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_request_handler.h
===================================================================
--- webkit/appcache/appcache_request_handler.h (revision 106339)
+++ webkit/appcache/appcache_request_handler.h (working copy)
@@ -53,13 +53,13 @@
AppCacheRequestHandler(AppCacheHost* host, ResourceType::Type resource_type);
// AppCacheHost::Observer override
- virtual void OnDestructionImminent(AppCacheHost* host);
+ virtual void OnDestructionImminent(AppCacheHost* host) OVERRIDE;
// Helpers to instruct a waiting job with what response to
// deliver for the request we're handling.
void DeliverAppCachedResponse(const AppCacheEntry& entry, int64 cache_id,
- const GURL& manifest_url, bool is_fallback,
- const GURL& fallback_url);
+ int64 group_id, const GURL& manifest_url,
+ bool is_fallback, const GURL& fallback_url);
void DeliverNetworkResponse();
void DeliverErrorResponse();
@@ -79,7 +79,7 @@
virtual void OnMainResponseFound(
const GURL& url, const AppCacheEntry& entry,
const GURL& fallback_url, const AppCacheEntry& fallback_entry,
- int64 cache_id, const GURL& mainfest_url);
+ int64 cache_id, int64 group_id, const GURL& mainfest_url) OVERRIDE;
// Sub-resource loading -------------------------------------
// Dedicated worker and all manner of sub-resources are handled here.
@@ -88,7 +88,7 @@
void ContinueMaybeLoadSubResource();
// AppCacheHost::Observer override
- virtual void OnCacheSelectionComplete(AppCacheHost* host);
+ virtual void OnCacheSelectionComplete(AppCacheHost* host) OVERRIDE;
// Data members -----------------------------------------------
@@ -103,6 +103,7 @@
// Info about the type of response we found for delivery.
// These are relevant for both main and subresource requests.
+ int64 found_group_id_;
int64 found_cache_id_;
AppCacheEntry found_entry_;
AppCacheEntry found_fallback_entry_;
« no previous file with comments | « webkit/appcache/appcache_interfaces.cc ('k') | webkit/appcache/appcache_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698