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

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

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.cc
diff --git a/content/public/test/mock_special_storage_policy.cc b/content/public/test/mock_special_storage_policy.cc
index ff3c6c44be160d8638d2167d96a8b2d2aae25c7e..ea1190aa3b5140739eba91f04d443315e87eeb75 100644
--- a/content/public/test/mock_special_storage_policy.cc
+++ b/content/public/test/mock_special_storage_policy.cc
@@ -38,6 +38,10 @@ bool MockSpecialStoragePolicy::HasSessionOnlyOrigins() {
return !session_only_.empty();
}
+bool MockSpecialStoragePolicy::IsStorageDurable(const GURL& origin) {
+ return false;
+}
+
MockSpecialStoragePolicy::~MockSpecialStoragePolicy() {}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698