Index: chrome/browser/chromeos/cros/network_library_impl_cros.h |
diff --git a/chrome/browser/chromeos/cros/network_library_impl_cros.h b/chrome/browser/chromeos/cros/network_library_impl_cros.h |
index 1061644895c68af83e6c04556873e78753cd82ca..692caa37c6c100ca96fa38a9ee11082c0c79bf22 100644 |
--- a/chrome/browser/chromeos/cros/network_library_impl_cros.h |
+++ b/chrome/browser/chromeos/cros/network_library_impl_cros.h |
@@ -60,6 +60,8 @@ class NetworkLibraryImplCros : public NetworkLibraryImplBase { |
virtual void RequestNetworkScan() OVERRIDE; |
virtual bool GetWifiAccessPoints(WifiAccessPointVector* result) OVERRIDE; |
+ virtual void RefreshIPConfig(Network* network) OVERRIDE; |
+ |
virtual void DisconnectFromNetwork(const Network* network) OVERRIDE; |
virtual void CallEnableNetworkDeviceType( |
ConnectionType device, bool enable) OVERRIDE; |
@@ -74,7 +76,7 @@ class NetworkLibraryImplCros : public NetworkLibraryImplBase { |
virtual void SetIPConfig(const NetworkIPConfig& ipconfig) OVERRIDE; |
////////////////////////////////////////////////////////////////////////////// |
- // Calbacks. |
+ // Callbacks. |
void UpdateNetworkStatus( |
const std::string& path, const std::string& key, const Value& value); |
@@ -114,6 +116,11 @@ class NetworkLibraryImplCros : public NetworkLibraryImplBase { |
void NetworkDeviceUpdate(const std::string& device_path, |
const base::DictionaryValue* properties); |
+ // Second half of refreshing IPConfig for a network. Refreshes all IP config |
+ // paths found in properties. |
+ void RefreshIPConfigCallback(const std::string& device_path, |
+ const base::DictionaryValue* properties); |
+ |
private: |
// This processes all Manager update messages. |
bool NetworkManagerStatusChanged(const std::string& key, const Value* value); |