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

Unified Diff: storage/browser/quota/quota_manager.h

Issue 1102353009: WIP Durable storage, chrome side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 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
« no previous file with comments | « storage/browser/quota/quota_database.cc ('k') | storage/browser/quota/quota_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/quota_manager.h
diff --git a/storage/browser/quota/quota_manager.h b/storage/browser/quota/quota_manager.h
index 07106dfe5fb86d299a4c84473182a0490f536f31..0ebc9006509443cbbf4c42d8a3e60df178ec43cb 100644
--- a/storage/browser/quota/quota_manager.h
+++ b/storage/browser/quota/quota_manager.h
@@ -224,6 +224,9 @@ class STORAGE_EXPORT QuotaManager
bool IsStorageUnlimited(const GURL& origin, StorageType type) const;
+ void GetDurability(const GURL& origin,
+ const GetDurabilityCallback& callback);
+
bool CanQueryDiskSize(const GURL& origin) const {
return special_storage_policy_.get() &&
special_storage_policy_->CanQueryDiskSize(origin);
@@ -390,6 +393,9 @@ class STORAGE_EXPORT QuotaManager
void DidInitializeTemporaryOriginsInfo(bool success);
void DidGetAvailableSpace(int64 space);
void DidDatabaseWork(bool success);
+ void DidGetDurability(const GetDurabilityCallback& callback,
+ const bool* durable,
+ bool success);
void DeleteOnCorrectThread() const;
« no previous file with comments | « storage/browser/quota/quota_database.cc ('k') | storage/browser/quota/quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698