Index: webkit/database/database_tracker.h |
=================================================================== |
--- webkit/database/database_tracker.h (revision 85641) |
+++ webkit/database/database_tracker.h (working copy) |
@@ -124,11 +124,17 @@ |
virtual bool GetAllOriginIdentifiers(std::vector<string16>* origin_ids); |
virtual bool GetAllOriginsInfo(std::vector<OriginInfo>* origins_info); |
+ // TODO(michaeln): remove quota related stuff when quota manager |
+ // integration is complete |
void SetOriginQuota(const string16& origin_identifier, int64 new_quota); |
int64 GetDefaultQuota() { return default_quota_; } |
- // Sets the default quota for all origins. Should be used in tests only. |
- void SetDefaultQuota(int64 quota); |
+ void SetDefaultQuota(int64 quota); // for testing |
+ // Safe to call on any thread. |
+ quota::QuotaManagerProxy* quota_manager_proxy() const { |
+ return quota_manager_proxy_.get(); |
+ } |
+ |
bool IsDatabaseScheduledForDeletion(const string16& origin_identifier, |
const string16& database_name); |