| 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 d6dfcf647fb34abce0ac39e7d541bc99f3c5097b..4dd3067077f454416a75bf51208670d6615f971f 100644
|
| --- a/chrome/browser/resources/options/chromeos/onc_data.js
|
| +++ b/chrome/browser/resources/options/chromeos/onc_data.js
|
| @@ -49,7 +49,7 @@ cr.define('cr.onc', function() {
|
| * @param {string} key The property key.
|
| * @param {Object} value The property value to set.
|
| */
|
| - setManagedProperty: function(key, value) {
|
| + setProperty: function(key, value) {
|
| var data = this.data_;
|
| while (true) {
|
| var index = key.indexOf('.');
|
| @@ -177,6 +177,13 @@ cr.define('cr.onc', function() {
|
| return property[effective];
|
| }
|
| return undefined;
|
| + },
|
| +
|
| + /**
|
| + * Returns the complete ONC dictionary.
|
| + */
|
| + getData: function() {
|
| + return this.data_;
|
| }
|
| };
|
|
|
|
|