Index: chromeos/network/network_state.h |
diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h |
index 6128a628f3120363596491976301f9d56da486c3..24bb8c0d29eaa69c3191c6371a5c171bfd705041 100644 |
--- a/chromeos/network/network_state.h |
+++ b/chromeos/network/network_state.h |
@@ -107,6 +107,10 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState { |
bool IsConnectedState() const; |
bool IsConnectingState() const; |
+ // Returns true if |last_connection_state_| is connected, and |
+ // |connection_state_| is connecting. |
+ bool IsReconnecting() const; |
+ |
// Returns true if this is a network stored in a profile. |
bool IsInProfile() const; |
@@ -161,6 +165,7 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState { |
std::string device_path_; |
std::string guid_; |
std::string connection_state_; |
+ std::string last_connection_state_; |
std::string profile_path_; |
std::vector<uint8_t> raw_ssid_; // Unknown encoding. Not necessarily UTF-8. |
int priority_ = 0; |