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

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 9ac78405ad2f5b8083346b689229034c196988d9..d8a478f11fe2bf0a10760cc9ba0989ce3266078a 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -588,14 +588,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);
}
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | chrome/browser/ui/webui/options/chromeos/internet_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698