summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/mock_extension_special_storage_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/mock_extension_special_storage_policy.cc')
-rw-r--r--chrome/browser/extensions/mock_extension_special_storage_policy.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/mock_extension_special_storage_policy.cc b/chrome/browser/extensions/mock_extension_special_storage_policy.cc
index 7cf86cd..fd9bb3e 100644
--- a/chrome/browser/extensions/mock_extension_special_storage_policy.cc
+++ b/chrome/browser/extensions/mock_extension_special_storage_policy.cc
@@ -26,3 +26,7 @@ bool MockExtensionSpecialStoragePolicy::IsFileHandler(
const std::string& extension_id) {
return file_handlers_.find(extension_id) != file_handlers_.end();
}
+
+bool MockExtensionSpecialStoragePolicy::HasSessionOnlyOrigins() {
+ return !session_only_.empty();
+}