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

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

Issue 1135923004: Observe onDeviceListChanged in network_list.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2dd366a20945954541b1e67af93e62ed2efd07ec..bcd947ad1657f3a579a6a0f39a3321b0fea49037 100644
--- a/chrome/browser/resources/options/chromeos/network_list.js
+++ b/chrome/browser/resources/options/chromeos/network_list.js
@@ -896,6 +896,8 @@ cr.define('options.network', function() {
chrome.networkingPrivate.onNetworkListChanged.addListener(
this.onNetworkListChanged_.bind(this));
+ chrome.networkingPrivate.onDeviceStateListChanged.addListener(
+ this.onNetworkListChanged_.bind(this));
chrome.networkingPrivate.requestNetworkScan();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698