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

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

Issue 3744009: chromium-os:5494 Networks with identical names not handled properly. (Closed)
Patch Set: Rebase from trunk. Created 10 years, 2 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
diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h
index 668783cdd9c4625048d3e10178dead249bdf20c4..7f7a7b1f6d14c0c26de130194b2c0bbdb153ef83 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -311,20 +311,20 @@ class NetworkLibrary {
virtual void AddObserver(Observer* observer) = 0;
virtual void RemoveObserver(Observer* observer) = 0;
+ // Return the active Ethernet network (or a default structure if inactive).
virtual const EthernetNetwork& ethernet_network() const = 0;
virtual bool ethernet_connecting() const = 0;
virtual bool ethernet_connected() const = 0;
- virtual const std::string& wifi_name() const = 0;
+ // Return the active Wifi network (or a default structure if none active).
+ virtual const WifiNetwork& wifi_network() const = 0;
virtual bool wifi_connecting() const = 0;
virtual bool wifi_connected() const = 0;
- virtual int wifi_strength() const = 0;
- virtual const std::string& cellular_name() const = 0;
- virtual const std::string& cellular_service_path() const = 0;
+ // Return the active Cellular network (or a default structure if none active).
+ virtual const CellularNetwork& cellular_network() const = 0;
virtual bool cellular_connecting() const = 0;
virtual bool cellular_connected() const = 0;
- virtual int cellular_strength() const = 0;
// Return true if any network is currently connected.
virtual bool Connected() const = 0;
« no previous file with comments | « chrome/browser/chromeos/cros/mock_network_library.h ('k') | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698