Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/prefs.js

Issue 29526555: Issue 5554 - [webextensions] Adjust data to account for UI limitations (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome
Patch Set: Made imports constant Created Aug. 24, 2017, 10:43 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/firefoxDataCleanup.js ('k') | metadata.chrome » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/prefs.js
===================================================================
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -46,17 +46,17 @@ defaults.currentVersion = "";
*
* @type {string}
*/
defaults.data_directory = "";
/**
* @see https://adblockplus.org/en/preferences#patternsbackups
* @type {number}
*/
-defaults.patternsbackups = 5;
+defaults.patternsbackups = 0;
/**
* @see https://adblockplus.org/en/preferences#patternsbackupinterval
* @type {number}
*/
defaults.patternsbackupinterval = 24;
/**
* Only for compatibility with core code. Please do not change!
*
@@ -143,16 +143,24 @@ defaults.hidePlaceholders = true;
/**
* Whether notification opt-out UI should be shown.
* @type {boolean}
*/
defaults.notifications_showui = false;
/**
+ * Determines whether data has been cleaned up after upgrading from the legacy
+ * extension on Firefox.
+ *
+ * @type {boolean}
+ */
+defaults.data_cleanup_done = false;
+
+/**
* Notification categories to be ignored.
*
* @type {string[]}
*/
defaults.notifications_ignoredcategories = [];
/**
* Whether to show the developer tools panel.
« no previous file with comments | « lib/firefoxDataCleanup.js ('k') | metadata.chrome » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld