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

Unified Diff: content/public/test/mock_special_storage_policy.h

Issue 1164073005: Allow script to request durable storage permission (chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased onto content setting patch Created 5 years, 6 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
Index: content/public/test/mock_special_storage_policy.h
diff --git a/content/public/test/mock_special_storage_policy.h b/content/public/test/mock_special_storage_policy.h
index 1220f6543e4359c8ff8d9f2c7305fa0a56faf3b7..5049e1973ffb738535159409651b3a765ae18616 100644
--- a/content/public/test/mock_special_storage_policy.h
+++ b/content/public/test/mock_special_storage_policy.h
@@ -25,6 +25,7 @@ class MockSpecialStoragePolicy : public storage::SpecialStoragePolicy {
bool CanQueryDiskSize(const GURL& origin) override;
bool HasIsolatedStorage(const GURL& origin) override;
bool HasSessionOnlyOrigins() override;
+ bool IsStorageDurable(const GURL& origin) override;
void AddProtected(const GURL& origin) {
protected_.insert(origin);

Powered by Google App Engine
This is Rietveld 408576698