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

Unified Diff: chromeos/network/network_state.h

Issue 17094011: Include WiFi.FrequencyList in NetworkState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | chromeos/network/network_state.cc » ('j') | chromeos/network/network_state.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_state.h
diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h
index e87cba6bf020de743bd684e1ea84659a0eb9cd43..28071d1b5fc212423e2be5c1bbd61b65f0737aa9 100644
--- a/chromeos/network/network_state.h
+++ b/chromeos/network/network_state.h
@@ -20,7 +20,9 @@ namespace chromeos {
// call NetworkStateHandler::GetNetworkState(path) to retrieve the state for
// the network.
class CHROMEOS_EXPORT NetworkState : public ManagedState {
- public:
+public:
+ typedef std::vector<int> FrequencyList;
+
explicit NetworkState(const std::string& path);
virtual ~NetworkState();
@@ -59,6 +61,7 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
bool connectable() const { return connectable_; }
// Wifi property accessors
bool passphrase_required() const { return passphrase_required_; }
+ const FrequencyList& wifi_frequencies() const { return wifi_frequencies_; }
// Cellular property accessors
const std::string& technology() const { return technology_; }
const std::string& activation_state() const { return activation_state_; }
@@ -124,6 +127,7 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
std::string hex_ssid_;
std::string country_code_;
bool passphrase_required_;
+ FrequencyList wifi_frequencies_;
// Cellular properties
std::string technology_;
std::string activation_state_;
« no previous file with comments | « no previous file | chromeos/network/network_state.cc » ('j') | chromeos/network/network_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698