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

Unified Diff: lib/prefs.js

Issue 29338315: Issue 3801 - Add pre-configurable preference for additional subscriptions (Closed)
Patch Set: Created March 15, 2016, 1:40 p.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 | « chrome/managed-storage-schema.json ('k') | lib/subscriptionInit.js » ('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
@@ -133,14 +133,6 @@
* @type {boolean}
*/
defaults.hidePlaceholders = true;
-/**
- * Whether to suppress the first run page. This preference isn't
- * set by the extension but can be pre-configured externally.
- *
- * @see https://adblockplus.org/development-builds/suppressing-the-first-run-page-on-chrome
- * @type {boolean}
- */
-defaults.suppress_first_run_page = false;
/**
* Whether notification opt-out UI should be shown.
@@ -163,6 +155,24 @@
defaults.show_devtools_panel = true;
/**
+ * Whether to suppress the first run page. This preference isn't
+ * set by the extension but can be pre-configured externally.
+ *
+ * @see https://adblockplus.org/development-builds/suppressing-the-first-run-page-on-chrome
+ * @type {boolean}
+ */
+defaults.suppress_first_run_page = false;
+
+/**
+ * Additonal subscriptions to be automatically added when the extension is
+ * loaded. This preference isn't set by the extension but can be pre-configured
+ * externally.
+ *
+ * @type {string[]}
+ */
+defaults.additional_subscriptions = [];
+
+/**
* @namespace
* @static
*/
« no previous file with comments | « chrome/managed-storage-schema.json ('k') | lib/subscriptionInit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld