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: Return early on fresh installs Created Aug. 24, 2017, 9:57 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;
/**
* @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.
« lib/firefoxDataCleanup.js ('K') | « lib/firefoxDataCleanup.js ('k') | metadata.chrome » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld