Index: chromeos/network/network_state.h |
diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h |
index e4d9cce2cc090a730d8431e11f259c54abfcb0c5..eeddf8c93e0ca18d2f6ef59d5625bece276937f3 100644 |
--- a/chromeos/network/network_state.h |
+++ b/chromeos/network/network_state.h |
@@ -126,6 +126,9 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState { |
// Set the GUID. Called exclusively by NetworkStateHandler. |
void SetGuid(const std::string& guid); |
+ // Retirns |error_| if valid, otherwise returns |last_error_|. |
pneubeck (no reviews)
2015/04/13 19:16:11
typo: Retirns -> Returns
stevenjb
2015/04/13 21:16:32
Done.
|
+ std::string GetErrorState() const; |
+ |
// Helpers (used e.g. when a state, error, or shill dictionary is cached) |
static bool StateIsConnected(const std::string& connection_state); |
static bool StateIsConnecting(const std::string& connection_state); |