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: Created Aug. 24, 2017, 9:02 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
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;
Wladimir Palant 2017/08/24 09:08:09 I don't know why this feature was enabled initiall
/**
* @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;
Sebastian Noack 2017/08/24 09:42:05 This way the data migration will also be performed
Wladimir Palant 2017/08/24 09:57:43 On a fresh install this will be a fast operation.
+
+/**
* Notification categories to be ignored.
*
* @type {string[]}
*/
defaults.notifications_ignoredcategories = [];
/**
* Whether to show the developer tools panel.

Powered by Google App Engine
This is Rietveld