summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_entry.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_entry.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_entry.h')
-rw-r--r--webkit/appcache/appcache_entry.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/webkit/appcache/appcache_entry.h b/webkit/appcache/appcache_entry.h
index 71239e2..ac67ac3 100644
--- a/webkit/appcache/appcache_entry.h
+++ b/webkit/appcache/appcache_entry.h
@@ -24,17 +24,13 @@ class AppCacheEntry {
FALLBACK = 1 << 4,
};
- AppCacheEntry()
- : types_(0), response_id_(kNoResponseId), response_size_(0) {}
+ AppCacheEntry() : types_(0), response_id_(kNoResponseId) {}
explicit AppCacheEntry(int type)
- : types_(type), response_id_(kNoResponseId), response_size_(0) {}
+ : types_(type), response_id_(kNoResponseId) {}
AppCacheEntry(int type, int64 response_id)
- : types_(type), response_id_(response_id), response_size_(0) {}
-
- AppCacheEntry(int type, int64 response_id, int64 response_size)
- : types_(type), response_id_(response_id), response_size_(response_size) {}
+ : types_(type), response_id_(response_id) {}
int types() const { return types_; }
void add_types(int added_types) { types_ |= added_types; }
@@ -48,13 +44,9 @@ class AppCacheEntry {
void set_response_id(int64 id) { response_id_ = id; }
bool has_response_id() const { return response_id_ != kNoResponseId; }
- int64 response_size() const { return response_size_; }
- void set_response_size(int64 size) { response_size_ = size; }
-
private:
int types_;
int64 response_id_;
- int64 response_size_;
};
} // namespace appcache