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

Unified Diff: webkit/appcache/appcache_url_request_job.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_update_job_unittest.cc ('k') | webkit/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_url_request_job.h
===================================================================
--- webkit/appcache/appcache_url_request_job.h (revision 106339)
+++ webkit/appcache/appcache_url_request_job.h (working copy)
@@ -28,8 +28,9 @@
// Informs the job of what response it should deliver. Only one of these
// methods should be called, and only once per job. A job will sit idle and
// wait indefinitely until one of the deliver methods is called.
- void DeliverAppCachedResponse(const GURL& manifest_url, int64 cache_id,
- const AppCacheEntry& entry, bool is_fallback);
+ void DeliverAppCachedResponse(const GURL& manifest_url, int64 group_id,
+ int64 cache_id, const AppCacheEntry& entry,
+ bool is_fallback);
void DeliverNetworkResponse();
void DeliverErrorResponse();
@@ -52,9 +53,10 @@
// Accessors for the info about the appcached response, if any,
// that this job has been instructed to deliver. These are only
// valid to call if is_delivering_appcache_response.
- const GURL& manifest_url() { return manifest_url_; }
- int64 cache_id() { return cache_id_; }
- const AppCacheEntry& entry() { return entry_; }
+ const GURL& manifest_url() const { return manifest_url_; }
+ int64 group_id() const { return group_id_; }
+ int64 cache_id() const { return cache_id_; }
+ const AppCacheEntry& entry() const { return entry_; }
// net::URLRequestJob's Kill method is made public so the users of this
// class in the appcache namespace can call it.
@@ -125,6 +127,7 @@
bool has_been_killed_;
DeliveryType delivery_type_;
GURL manifest_url_;
+ int64 group_id_;
int64 cache_id_;
AppCacheEntry entry_;
bool is_fallback_;
« no previous file with comments | « webkit/appcache/appcache_update_job_unittest.cc ('k') | webkit/appcache/appcache_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698