Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: chrome/browser/resources/settings/prefs/prefs.js

Issue 1310373008: Add cr_policy_indicator for settings controls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_settings_compiled_resources_3
Patch Set: Elim unused tyep Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/prefs/prefs.js
diff --git a/chrome/browser/resources/settings/prefs/prefs.js b/chrome/browser/resources/settings/prefs/prefs.js
index b68ccea3c5c9b26ee7608800145cf458189e34af..29d20c6015f51cf5db820096726c41e5c41b445a 100644
--- a/chrome/browser/resources/settings/prefs/prefs.js
+++ b/chrome/browser/resources/settings/prefs/prefs.js
@@ -44,7 +44,8 @@
/**
* Called when prefs in the underlying Chrome pref store are changed.
- * @param {!Array<!PrefObject>} prefs The prefs that changed.
+ * @param {!Array<!chrome.settingsPrivate.PrefObject>} prefs The prefs that
+ * changed.
* @private
*/
onPrefsChanged_: function(prefs) {
@@ -53,7 +54,7 @@
/**
* Called when prefs are fetched from settingsPrivate.
- * @param {!Array<!PrefObject>} prefs
+ * @param {!Array<!chrome.settingsPrivate.PrefObject>} prefs
* @private
*/
onPrefsFetched_: function(prefs) {
@@ -66,7 +67,7 @@
/**
* Updates the settings model with the given prefs.
- * @param {!Array<!PrefObject>} prefs
+ * @param {!Array<!chrome.settingsPrivate.PrefObject>} prefs
* @param {boolean} shouldObserve Whether each of the prefs should be
* observed.
* @private

Powered by Google App Engine
This is Rietveld 408576698