| Index: webkit/quota/quota_manager.h
|
| ===================================================================
|
| --- webkit/quota/quota_manager.h (revision 91690)
|
| +++ webkit/quota/quota_manager.h (working copy)
|
| @@ -146,11 +146,6 @@
|
| special_storage_policy_->IsStorageUnlimited(origin);
|
| }
|
|
|
| - void GetOriginsModifiedSince(
|
| - StorageType type,
|
| - base::Time modified_since,
|
| - GetOriginsCallback* callback);
|
| -
|
| // Used to determine the total size of the temp pool.
|
| static const int64 kTemporaryStorageQuotaDefaultSize;
|
| static const int64 kTemporaryStorageQuotaMaxSize;
|
| @@ -169,15 +164,13 @@
|
| private:
|
| class DatabaseTaskBase;
|
| class InitializeTask;
|
| - class UpdateTemporaryGlobalQuotaTask;
|
| - class GetPersistentHostQuotaTask;
|
| - class UpdatePersistentHostQuotaTask;
|
| + class TemporaryGlobalQuotaUpdateTask;
|
| + class PersistentHostQuotaQueryTask;
|
| + class PersistentHostQuotaUpdateTask;
|
| class GetLRUOriginTask;
|
| - class DeleteOriginInfo;
|
| - class InitializeTemporaryOriginsInfoTask;
|
| - class UpdateAccesTimeTask;
|
| - class UpdateModifiedTimeTask;
|
| - class GetModifiedSinceTask;
|
| + class OriginDeletionDatabaseTask;
|
| + class TemporaryOriginsRegistrationTask;
|
| + class OriginAccessRecordDatabaseTask;
|
|
|
| class UsageAndQuotaDispatcherTask;
|
| class UsageAndQuotaDispatcherTaskForTemporary;
|
| @@ -187,16 +180,16 @@
|
|
|
| class AvailableSpaceQueryTask;
|
| class DumpQuotaTableTask;
|
| - class DumpOriginInfoTableTask;
|
| + class DumpLastAccessTimeTableTask;
|
|
|
| typedef QuotaDatabase::QuotaTableEntry QuotaTableEntry;
|
| - typedef QuotaDatabase::OriginInfoTableEntry OriginInfoTableEntry;
|
| + typedef QuotaDatabase::LastAccessTimeTableEntry LastAccessTimeTableEntry;
|
| typedef std::vector<QuotaTableEntry> QuotaTableEntries;
|
| - typedef std::vector<OriginInfoTableEntry> OriginInfoTableEntries;
|
| + typedef std::vector<LastAccessTimeTableEntry> LastAccessTimeTableEntries;
|
|
|
| typedef Callback1<const QuotaTableEntries&>::Type DumpQuotaTableCallback;
|
| - typedef Callback1<const OriginInfoTableEntries&>::Type
|
| - DumpOriginInfoTableCallback;
|
| + typedef Callback1<const LastAccessTimeTableEntries&>::Type
|
| + DumpLastAccessTimeTableCallback;
|
|
|
| struct EvictionContext {
|
| EvictionContext()
|
| @@ -223,7 +216,6 @@
|
| UsageAndQuotaDispatcherTaskMap;
|
|
|
| friend struct QuotaManagerDeleter;
|
| - friend class MockStorageClient;
|
| friend class QuotaManagerProxy;
|
| friend class QuotaManagerTest;
|
| friend class QuotaTemporaryStorageEvictor;
|
| @@ -245,21 +237,15 @@
|
| // (Might return empty list if no origin is tracked by the tracker.)
|
| void GetCachedOrigins(StorageType type, std::set<GURL>* origins);
|
|
|
| - // These internal methods are separately defined mainly for testing.
|
| + // This internal method is separately defined mainly for testing.
|
| void NotifyStorageAccessedInternal(
|
| QuotaClient::ID client_id,
|
| const GURL& origin,
|
| StorageType type,
|
| base::Time accessed_time);
|
| - void NotifyStorageModifiedInternal(
|
| - QuotaClient::ID client_id,
|
| - const GURL& origin,
|
| - StorageType type,
|
| - int64 delta,
|
| - base::Time modified_time);
|
|
|
| void DumpQuotaTable(DumpQuotaTableCallback* callback);
|
| - void DumpOriginInfoTable(DumpOriginInfoTableCallback* callback);
|
| + void DumpLastAccessTimeTable(DumpLastAccessTimeTableCallback* callback);
|
|
|
| // Methods for eviction logic.
|
| void StartEviction();
|
|
|