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

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

Issue 544173013: Make network settings functions more closely match networkingPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_10c
Patch Set: Feedback Created 6 years, 3 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/onc_data.js
diff --git a/chrome/browser/resources/options/chromeos/onc_data.js b/chrome/browser/resources/options/chromeos/onc_data.js
index 877bdcb9e1f37f0b0e7164e6c4d06cb64d3df6c7..5a45e6ab15c6a4643990419341ccccdd83a881e6 100644
--- a/chrome/browser/resources/options/chromeos/onc_data.js
+++ b/chrome/browser/resources/options/chromeos/onc_data.js
@@ -159,21 +159,6 @@ cr.define('cr.onc', function() {
},
/**
- * Updates the properties of |data_| from the properties in |update|.
- * Note: this only looks at top level entries, so if a dictionary is
- * updated the entire dictionary is written over. TODO(stevenjb):
- * eliminate this function when |data_| contains only ONC entries and
- * any updates consist of complete ONC dictionaries.
- * @param {Object} update Dictionary containing the updated properties.
- */
- updateData: function(update) {
- for (var prop in update) {
- if (prop in this.data_)
- this.data_[prop] = update[prop];
- }
- },
-
- /**
* Get the effective value from a Managed property ONC dictionary.
* @param {Object} property The managed property ONC dictionary.
* @return {*} The effective value or undefined.

Powered by Google App Engine
This is Rietveld 408576698