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

Unified Diff: storage/browser/quota/quota_manager.h

Issue 1355793002: Convert QuotaManager::GetLRUOrigin into a QuotaEvictionPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@respect_exceptions
Patch Set: Created 5 years, 3 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 | « no previous file | storage/browser/quota/quota_manager.cc » ('j') | storage/browser/quota/quota_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/quota_manager.h
diff --git a/storage/browser/quota/quota_manager.h b/storage/browser/quota/quota_manager.h
index 2729f6425abfc63efc3fc2ee0191f2f478cf1552..75f76357b09c685dc5a714369952045616a59aab 100644
--- a/storage/browser/quota/quota_manager.h
+++ b/storage/browser/quota/quota_manager.h
@@ -306,6 +306,8 @@ class STORAGE_EXPORT QuotaManager
class DumpQuotaTableHelper;
class DumpOriginInfoTableHelper;
+ class LRUOriginEvictionPolicy;
+
typedef QuotaDatabase::QuotaTableEntry QuotaTableEntry;
typedef QuotaDatabase::OriginInfoTableEntry OriginInfoTableEntry;
typedef std::vector<QuotaTableEntry> QuotaTableEntries;
@@ -409,8 +411,6 @@ class STORAGE_EXPORT QuotaManager
void DidInitialize(int64* temporary_quota_override,
int64* desired_available_space,
bool success);
- void DidGetLRUOrigin(const GURL* origin,
- bool success);
void DidGetInitialTemporaryGlobalQuota(QuotaStatusCode status,
int64 quota_unused);
void DidInitializeTemporaryOriginsInfo(bool success);
@@ -434,7 +434,6 @@ class STORAGE_EXPORT QuotaManager
scoped_refptr<base::SequencedTaskRunner> db_thread_;
mutable scoped_ptr<QuotaDatabase> database_;
- GetOriginCallback lru_origin_callback_;
std::set<GURL> access_notified_origins_;
QuotaClientList clients_;
« no previous file with comments | « no previous file | storage/browser/quota/quota_manager.cc » ('j') | storage/browser/quota/quota_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698