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

Unified Diff: chrome/browser/chromeos/cros/network_library.h

Issue 650074: New network menu button UI for ChromeOS.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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
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_; }

Powered by Google App Engine
This is Rietveld 408576698