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

Unified Diff: chrome/browser/resources/options/chromeos/internet_detail.js

Issue 517413002: Compile chrome://settings, part 1: remove all warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: Created 6 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/options/chromeos/internet_detail.js
diff --git a/chrome/browser/resources/options/chromeos/internet_detail.js b/chrome/browser/resources/options/chromeos/internet_detail.js
index 20006058e05abd603dca15ae587a698e1a8f6705..f4be041bb13e1411797b59a9d5d7ed12ebfb6ed5 100644
--- a/chrome/browser/resources/options/chromeos/internet_detail.js
+++ b/chrome/browser/resources/options/chromeos/internet_detail.js
@@ -150,11 +150,11 @@ cr.define('options.internet', function() {
}
}
- /*
+ /**
* Helper function to update the properties of the data object from the
* properties in the update object.
- * @param {object} data object to update.
- * @param {object} object containing the updated properties.
+ * @param {Object} data Object to update.
+ * @param {Object} update Object containing the updated properties.
*/
function updateDataObject(data, update) {
for (var prop in update) {
@@ -523,7 +523,7 @@ cr.define('options.internet', function() {
/**
* Handler for when the name server selection changes.
- * @param {Event} e The click event.
+ * @param {Event} event The click event.
* @private
*/
handleNameServerTypeChange_: function(event) {
@@ -535,8 +535,8 @@ cr.define('options.internet', function() {
* Creates an indicator event for controlled properties using
* the same dictionary format as CoreOptionsHandler::CreateValueForPref.
* @param {string} name The name for the Event.
- * @param {Object} data Property dictionary with |value|, |controlledBy|,
- * and |recommendedValue| properties set.
+ * @param {Object} propData Property dictionary with |value|,
+ * |controlledBy|, and |recommendedValue| properties set.
* @private
*/
createControlledEvent_: function(name, propData) {
@@ -553,7 +553,7 @@ cr.define('options.internet', function() {
* Creates an indicator event for controlled properties using
* the ONC getManagedProperties dictionary format.
* @param {string} name The name for the Event.
- * @param {Object} data ONC managed network property dictionary.
+ * @param {Object} propData ONC managed network property dictionary.
* @private
*/
createManagedEvent_: function(name, propData) {

Powered by Google App Engine
This is Rietveld 408576698