Index: chrome/browser/chromeos/cros/network_library.h |
=================================================================== |
--- chrome/browser/chromeos/cros/network_library.h (revision 39463) |
+++ chrome/browser/chromeos/cros/network_library.h (working copy) |
@@ -174,6 +174,9 @@ |
// Return true if any network is currently connected. |
bool Connected() const; |
+ // Returns the current IP address if connected. If not, returns empty string. |
+ const std::string& IPAddress() const; |
+ |
// Returns the current list of wifi networks. |
const WifiNetworkVector& wifi_networks() const { return wifi_networks_; } |