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

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

Issue 1030963003: Use networkingPrivate types in JS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extract unrelated chnages Created 5 years, 9 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/network_list.js
diff --git a/chrome/browser/resources/options/chromeos/network_list.js b/chrome/browser/resources/options/chromeos/network_list.js
index 6f244057ad95361a47526ad780dadd1b1e368fea..59e6d53dc392c44ccbfec6dbc10aabbd862e61d7 100644
--- a/chrome/browser/resources/options/chromeos/network_list.js
+++ b/chrome/browser/resources/options/chromeos/network_list.js
@@ -5,8 +5,8 @@
/**
* This partially describes the network list entries passed to
* refreshNetworkData. The contents of those lists actually match
- * CrOnc.NetworkConfigType with the addition of the policyManaged property.
- * TODO(stevenjb): Use networkingPrivate.getNetworks.
+ * chrome.networkingPrivate.NetworkStateProperties with the addition of the
+ * policyManaged property. TODO(stevenjb): Use networkingPrivate.getNetworks.
* @typedef {{
* ConnectionState: string,
* GUID: string,
@@ -229,7 +229,7 @@ cr.define('options.network', function() {
return;
var networkIcon = this.getNetworkIcon();
networkIcon.networkState = CrOncDataElement.create(
- /** @type {CrOnc.NetworkConfigType} */ (data));
+ /** @type {chrome.networkingPrivate.NetworkStateProperties} */(data));
},
/**

Powered by Google App Engine
This is Rietveld 408576698