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

Unified Diff: lib/prefs.js

Issue 29321084: Issue 2195 - Added notification opt-out (Platform) (Closed)
Patch Set: Created June 25, 2015, 4:44 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 | « _locales/en_US/messages.json ('k') | notification.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
@@ -143,6 +143,12 @@
defaults.suppress_first_run_page = false;
/**
+ * Whether notification opt-out UI should be shown.
+ * @type {boolean}
+ */
+defaults.notifications_showui = false;
+
+/**
* Notification categories to be ignored.
*
* @type {string[]}
« no previous file with comments | « _locales/en_US/messages.json ('k') | notification.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld