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

Unified Diff: webkit/quota/quota_manager.h

Issue 7002024: Implement QuotaTemporaryStorageEvictor. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Cleaned-up with using Timer. (No clean-up for the unit-test.) Created 9 years, 7 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
Index: webkit/quota/quota_manager.h
diff --git a/webkit/quota/quota_manager.h b/webkit/quota/quota_manager.h
index ad993cccbdb3a804f1d003f1632a6152d9e70733..4bb65eca7cda95a15f6b3b3bfcef4291c790fc4b 100644
--- a/webkit/quota/quota_manager.h
+++ b/webkit/quota/quota_manager.h
@@ -37,7 +37,9 @@ class QuotaManagerProxy;
// An interface called by QuotaTemporaryStorageEvictor.
class QuotaEvictionHandler {
public:
- typedef Callback1<GURL>::Type GetLRUOriginCallback;
+ virtual ~QuotaEvictionHandler() {}
+
+ typedef Callback1<const GURL&>::Type GetLRUOriginCallback;
typedef Callback1<QuotaStatusCode>::Type EvictOriginDataCallback;
typedef Callback4<QuotaStatusCode,
int64 /* usage */,
@@ -56,9 +58,6 @@ class QuotaEvictionHandler {
virtual void GetUsageAndQuotaForEviction(
GetUsageAndQuotaForEvictionCallback* callback) = 0;
-
- protected:
- virtual ~QuotaEvictionHandler() {}
};
// The quota manager class. This class is instantiated per profile and
« no previous file with comments | « no previous file | webkit/quota/quota_temporary_storage_evictor.h » ('j') | webkit/quota/quota_temporary_storage_evictor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698