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

Unified Diff: chrome/browser/chromeos/system/ash_system_tray_delegate.cc

Issue 11367048: This is the first pass at making GetIPConfigs asynchronous. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/chromeos/system/ash_system_tray_delegate.cc
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
index cc6930c476388b6433ed6e60b8f5c07715a6e881..0a48ff3a76733091fc917ebd74984ecc84a96e10 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -581,14 +581,14 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
*ethernet_mac_address = std::string();
const NetworkDevice* ether = crosnet->FindEthernetDevice();
if (ether)
- crosnet->GetIPConfigs(ether->device_path(), ethernet_mac_address,
+ crosnet->GetIPConfigsAndBlock(ether->device_path(), ethernet_mac_address,
NetworkLibrary::FORMAT_COLON_SEPARATED_HEX);
*wifi_mac_address = std::string();
const NetworkDevice* wifi = crosnet->wifi_enabled() ?
crosnet->FindWifiDevice() : NULL;
if (wifi)
- crosnet->GetIPConfigs(wifi->device_path(), wifi_mac_address,
+ crosnet->GetIPConfigsAndBlock(wifi->device_path(), wifi_mac_address,
NetworkLibrary::FORMAT_COLON_SEPARATED_HEX);
}

Powered by Google App Engine
This is Rietveld 408576698