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

Unified Diff: chromeos/network/network_state.h

Issue 14566009: Add NetworkConnectionHandler class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert Associating Stub change for test Created 7 years, 7 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 | « chromeos/network/network_handler_callbacks.h ('k') | chromeos/network/network_state.cc » ('j') | no next file with comments »
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 1e89638961f78c716dbf5992b0f6509c6a86f522..d49c5d865cd0dae87600e27d9aa93305c4ec03b6 100644
--- a/chromeos/network/network_state.h
+++ b/chromeos/network/network_state.h
@@ -51,6 +51,9 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
int priority() const { return priority_; }
// Wireless property accessors
int signal_strength() const { return signal_strength_; }
+ bool connectable() const { return connectable_; }
+ // Wifi property accessors
+ bool passphrase_required() const { return passphrase_required_; }
// Cellular property accessors
const std::string& technology() const { return technology_; }
const std::string& activation_state() const { return activation_state_; }
@@ -103,9 +106,11 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
std::vector<std::string> dns_servers_;
// Wireless properties
int signal_strength_;
+ bool connectable_;
// Wifi properties
std::string hex_ssid_;
std::string country_code_;
+ bool passphrase_required_;
// Cellular properties
std::string technology_;
std::string activation_state_;
« no previous file with comments | « chromeos/network/network_handler_callbacks.h ('k') | chromeos/network/network_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698