| Index: chromeos/network/network_state.h
|
| diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h
|
| index 3f64a07ae6b86bbf5388e8ff7f70ef282ecc8e5c..5ced2be74892c42e1f3cfd5719d5a67573bfdcff 100644
|
| --- a/chromeos/network/network_state.h
|
| +++ b/chromeos/network/network_state.h
|
| @@ -5,8 +5,13 @@
|
| #ifndef CHROMEOS_NETWORK_NETWORK_STATE_H_
|
| #define CHROMEOS_NETWORK_NETWORK_STATE_H_
|
|
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "chromeos/network/managed_state.h"
|
|
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| namespace chromeos {
|
|
|
| // Simple class to provide network state information about a network service.
|
| @@ -40,6 +45,8 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
|
| bool IsConnectedState() const;
|
| bool IsConnectingState() const;
|
|
|
| + scoped_ptr<base::DictionaryValue> TranslateToONC() const;
|
| +
|
| // Helpers (used e.g. when a state is cached)
|
| static bool StateIsConnected(const std::string& connection_state);
|
| static bool StateIsConnecting(const std::string& connection_state);
|
|
|