summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-07-19 12:35:31 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-07-21 20:14:04 +0000
commit19f42f37d80de7bc4c6b08475f71026b26c60fea (patch)
tree61e994a0ec4bfb387de57d18e7613511dc3b23f5 /lib
parente5b76264d4f6e523f0471a382601462dc61acc3e (diff)
downloadepiphany-19f42f37d80de7bc4c6b08475f71026b26c60fea.tar.gz
Add setting to disable website data storage
This will block access to cookies, localStorage, and IndexedDB. That is, it will finally do what users who previously disabled cookies *actually* wanted to do. This is our replacement for the previous tri-state cookie policy, which no longer makes sense now that we have ITP.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-prefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ephy-prefs.h b/lib/ephy-prefs.h
index 5def16c39..0f0e54f3f 100644
--- a/lib/ephy-prefs.h
+++ b/lib/ephy-prefs.h
@@ -109,6 +109,7 @@ static const char * const ephy_prefs_state_schema[] = {
#define EPHY_PREFS_WEB_ENABLE_SAFE_BROWSING "enable-safe-browsing"
#define EPHY_PREFS_WEB_GSB_API_KEY "gsb-api-key"
#define EPHY_PREFS_WEB_ENABLE_ITP "enable-itp"
+#define EPHY_PREFS_WEB_ENABLE_WEBSITE_DATA_STORAGE "enable-website-data-storage"
#define EPHY_PREFS_WEB_DEFAULT_ZOOM_LEVEL "default-zoom-level"
#define EPHY_PREFS_WEB_ENABLE_AUTOSEARCH "enable-autosearch"
#define EPHY_PREFS_WEB_ENABLE_MOUSE_GESTURES "enable-mouse-gestures"
@@ -138,6 +139,7 @@ static const char * const ephy_prefs_web_schema[] = {
EPHY_PREFS_WEB_ENABLE_SAFE_BROWSING,
EPHY_PREFS_WEB_GSB_API_KEY,
EPHY_PREFS_WEB_ENABLE_ITP,
+ EPHY_PREFS_WEB_ENABLE_WEBSITE_DATA_STORAGE,
EPHY_PREFS_WEB_DEFAULT_ZOOM_LEVEL,
EPHY_PREFS_WEB_ENABLE_AUTOSEARCH,
EPHY_PREFS_WEB_ENABLE_MOUSE_GESTURES,