diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-26 00:28:43 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-26 00:28:43 +0000 |
commit | 19eb8015c483fff874bf1eddb80bd26cf4167f33 (patch) | |
tree | be896411dde17d24eb8dbcd67e7b4c5cad2ef1b6 /webkit/appcache/appcache_storage.h | |
parent | f02074331bddc7d89b20e6b3a8fb934e6891207c (diff) | |
download | chromium_src-19eb8015c483fff874bf1eddb80bd26cf4167f33.zip chromium_src-19eb8015c483fff874bf1eddb80bd26cf4167f33.tar.gz chromium_src-19eb8015c483fff874bf1eddb80bd26cf4167f33.tar.bz2 |
Add an accessor for an ExtensionSpecialStoragePolicy to the Profile class
and use it in the extension service, data remover, and storage subsystems.
BUG=52357
TEST=extension_service_unittest.cc
Review URL: http://codereview.chromium.org/6551028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_storage.h')
-rw-r--r-- | webkit/appcache/appcache_storage.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/webkit/appcache/appcache_storage.h b/webkit/appcache/appcache_storage.h index 1d64ef9..1767127 100644 --- a/webkit/appcache/appcache_storage.h +++ b/webkit/appcache/appcache_storage.h @@ -167,11 +167,6 @@ class AppCacheStorage { virtual void PurgeMemory() = 0; - // Maintain a collection of quota overrides in memory. - void SetOriginQuotaInMemory(const GURL& origin, int64 quota); - void ResetOriginQuotaInMemory(const GURL& origin); - int64 GetOriginQuotaInMemory(const GURL& origin); - // Generates unique storage ids for different object types. int64 NewCacheId() { return ++last_cache_id_; @@ -283,11 +278,6 @@ class AppCacheStorage { return ++last_response_id_; } - // Store quotas for extensions in memory, in order to prevent writing a row - // to quota_table_ every time an extention is loaded. - typedef std::map<GURL, int64> QuotaMap; - QuotaMap in_memory_quotas_; - // The last storage id used for different object types. int64 last_cache_id_; int64 last_group_id_; |