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

Unified Diff: webkit/appcache/appcache_response.cc

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_response.h ('k') | webkit/appcache/appcache_response_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_response.cc
===================================================================
--- webkit/appcache/appcache_response.cc (revision 106339)
+++ webkit/appcache/appcache_response.cc (working copy)
@@ -72,8 +72,8 @@
// AppCacheResponseIO ----------------------------------------------
AppCacheResponseIO::AppCacheResponseIO(
- int64 response_id, AppCacheDiskCacheInterface* disk_cache)
- : response_id_(response_id), disk_cache_(disk_cache),
+ int64 response_id, int64 group_id, AppCacheDiskCacheInterface* disk_cache)
+ : response_id_(response_id), group_id_(group_id), disk_cache_(disk_cache),
entry_(NULL), buffer_len_(0), user_callback_(NULL),
ALLOW_THIS_IN_INITIALIZER_LIST(method_factory_(this)),
ALLOW_THIS_IN_INITIALIZER_LIST(raw_callback_(
@@ -135,8 +135,8 @@
// AppCacheResponseReader ----------------------------------------------
AppCacheResponseReader::AppCacheResponseReader(
- int64 response_id, AppCacheDiskCacheInterface* disk_cache)
- : AppCacheResponseIO(response_id, disk_cache),
+ int64 response_id, int64 group_id, AppCacheDiskCacheInterface* disk_cache)
+ : AppCacheResponseIO(response_id, group_id, disk_cache),
range_offset_(0), range_length_(kint32max),
read_position_(0) {
}
@@ -269,8 +269,8 @@
// AppCacheResponseWriter ----------------------------------------------
AppCacheResponseWriter::AppCacheResponseWriter(
- int64 response_id, AppCacheDiskCacheInterface* disk_cache)
- : AppCacheResponseIO(response_id, disk_cache),
+ int64 response_id, int64 group_id, AppCacheDiskCacheInterface* disk_cache)
+ : AppCacheResponseIO(response_id, group_id, disk_cache),
info_size_(0), write_position_(0), write_amount_(0),
creation_phase_(INITIAL_ATTEMPT) {
}
« no previous file with comments | « webkit/appcache/appcache_response.h ('k') | webkit/appcache/appcache_response_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698