Chromium Code Reviews| Index: webkit/browser/quota/quota_manager.h |
| diff --git a/webkit/browser/quota/quota_manager.h b/webkit/browser/quota/quota_manager.h |
| index a6eeb837ac630108234fddbf08fe40b7f637b222..9dced1964e9c13208ce07ef6cd6baddade6c8005 100644 |
| --- a/webkit/browser/quota/quota_manager.h |
| +++ b/webkit/browser/quota/quota_manager.h |
| @@ -25,6 +25,7 @@ |
| #include "webkit/browser/quota/quota_database.h" |
| #include "webkit/browser/quota/quota_task.h" |
| #include "webkit/browser/quota/special_storage_policy.h" |
| +#include "webkit/browser/quota/storage_observer.h" |
| #include "webkit/browser/webkit_storage_browser_export.h" |
| namespace base { |
| @@ -225,6 +226,11 @@ class WEBKIT_STORAGE_BROWSER_EXPORT QuotaManager |
| bool ResetUsageTracker(StorageType type); |
| + // Used to register/deregister observers that wish to monitor storage events. |
| + void AddStorageObserver(const StorageObserver::MonitorParams& params, |
|
tmdiep
2014/03/17 06:27:08
If we need the ability to update the params for an
nhiroki
2014/03/17 06:51:40
From the viewpoint of the Quota spec, I think we d
|
| + StorageObserver* observer); |
| + void RemoveStorageObserver(StorageObserver* observer); |
| + |
| // Determines the portion of the temp pool that can be |
| // utilized by a single host (ie. 5 for 20%). |
| static const int kPerHostTemporaryPortion; |