summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_response.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 03:50:42 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-06 03:50:42 +0000
commitee3cd175f8592b2b1f2ccd14b071d56ca733a5c6 (patch)
tree87a1e45bb6e93e1140a8719681fb653464bcea5e /webkit/appcache/appcache_response.h
parentfd4882e6faab19e1de6d791acebfa3b34faf5701 (diff)
downloadchromium_src-ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6.zip
chromium_src-ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6.tar.gz
chromium_src-ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6.tar.bz2
Revert 35609 - AppCache quota tracking groundwork, store response sizes in the SQL database.
TEST=updated existing unittests BUG=none Review URL: http://codereview.chromium.org/523046 TBR=michaeln@chromium.org Review URL: http://codereview.chromium.org/525059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_response.h')
-rw-r--r--webkit/appcache/appcache_response.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/webkit/appcache/appcache_response.h b/webkit/appcache/appcache_response.h
index f8ffcc6..419e739 100644
--- a/webkit/appcache/appcache_response.h
+++ b/webkit/appcache/appcache_response.h
@@ -184,9 +184,6 @@ class AppCacheResponseWriter : public AppCacheResponseIO {
// Returns true if there is a write pending.
bool IsWritePending() { return IsIOPending(); }
- // Returns the amount written, info and data.
- int64 amount_written() { return info_size_ + write_position_; }
-
private:
friend class AppCacheStorageImpl;
friend class MockAppCacheStorage;
@@ -194,12 +191,11 @@ class AppCacheResponseWriter : public AppCacheResponseIO {
// Should only be constructed by the storage class.
AppCacheResponseWriter(int64 response_id, disk_cache::Backend* disk_cache)
: AppCacheResponseIO(response_id, disk_cache),
- info_size_(0), write_position_(0), write_amount_(0) {}
+ write_position_(0), write_amount_(0) {}
virtual void OnIOComplete(int result);
bool CreateEntryIfNeeded();
- int info_size_;
int write_position_;
int write_amount_;
};