| Index: storage/browser/quota/quota_database.h
|
| diff --git a/storage/browser/quota/quota_database.h b/storage/browser/quota/quota_database.h
|
| index 09e90b34bfeb4e28157144fae2dc5999f2240605..d8216fd9630bb24dec2c65d2d40e232c39366f41 100644
|
| --- a/storage/browser/quota/quota_database.h
|
| +++ b/storage/browser/quota/quota_database.h
|
| @@ -36,6 +36,20 @@ class SpecialStoragePolicy;
|
| // All the methods of this class must run on the DB thread.
|
| class STORAGE_EXPORT_PRIVATE QuotaDatabase {
|
| public:
|
| + struct STORAGE_EXPORT_PRIVATE OriginInfoTableEntry {
|
| + OriginInfoTableEntry();
|
| + OriginInfoTableEntry(const GURL& origin,
|
| + StorageType type,
|
| + int used_count,
|
| + const base::Time& last_access_time,
|
| + const base::Time& last_modified_time);
|
| + GURL origin;
|
| + StorageType type;
|
| + int used_count;
|
| + base::Time last_access_time;
|
| + base::Time last_modified_time;
|
| + };
|
| +
|
| // Constants for {Get,Set}QuotaConfigValue keys.
|
| static const char kDesiredAvailableSpaceKey[];
|
| static const char kTemporaryQuotaOverrideKey[];
|
| @@ -71,6 +85,9 @@ class STORAGE_EXPORT_PRIVATE QuotaDatabase {
|
| // the database schema reset.
|
| bool RegisterInitialOriginInfo(
|
| const std::set<GURL>& origins, StorageType type);
|
| + bool GetOriginInfo(const GURL& origin,
|
| + StorageType type,
|
| + OriginInfoTableEntry* entry);
|
|
|
| bool DeleteOriginInfo(const GURL& origin, StorageType type);
|
|
|
| @@ -111,21 +128,6 @@ class STORAGE_EXPORT_PRIVATE QuotaDatabase {
|
| };
|
| friend STORAGE_EXPORT_PRIVATE bool operator <(
|
| const QuotaTableEntry& lhs, const QuotaTableEntry& rhs);
|
| -
|
| - struct STORAGE_EXPORT_PRIVATE OriginInfoTableEntry {
|
| - OriginInfoTableEntry();
|
| - OriginInfoTableEntry(
|
| - const GURL& origin,
|
| - StorageType type,
|
| - int used_count,
|
| - const base::Time& last_access_time,
|
| - const base::Time& last_modified_time);
|
| - GURL origin;
|
| - StorageType type;
|
| - int used_count;
|
| - base::Time last_access_time;
|
| - base::Time last_modified_time;
|
| - };
|
| friend STORAGE_EXPORT_PRIVATE bool operator <(
|
| const OriginInfoTableEntry& lhs, const OriginInfoTableEntry& rhs);
|
|
|
|
|