summaryrefslogtreecommitdiffstats
path: root/webkit/quota/mock_special_storage_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/quota/mock_special_storage_policy.cc')
-rw-r--r--webkit/quota/mock_special_storage_policy.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/quota/mock_special_storage_policy.cc b/webkit/quota/mock_special_storage_policy.cc
index 5787be9..c7fdb8f 100644
--- a/webkit/quota/mock_special_storage_policy.cc
+++ b/webkit/quota/mock_special_storage_policy.cc
@@ -29,4 +29,8 @@ bool MockSpecialStoragePolicy::IsFileHandler(const std::string& extension_id) {
return file_handlers_.find(extension_id) != file_handlers_.end();
}
+bool MockSpecialStoragePolicy::HasSessionOnlyOrigins() {
+ return !session_only_.empty();
+}
+
} // namespace quota