| Index: chromeos/network/network_state.h
|
| diff --git a/chromeos/network/network_state.h b/chromeos/network/network_state.h
|
| index e87cba6bf020de743bd684e1ea84659a0eb9cd43..0bda1cb73a46aab4e0beede913dd91c2cacfc753 100644
|
| --- a/chromeos/network/network_state.h
|
| +++ b/chromeos/network/network_state.h
|
| @@ -67,6 +67,10 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
|
| return activate_over_non_cellular_networks_;
|
| }
|
| bool cellular_out_of_credits() const { return cellular_out_of_credits_; }
|
| + const std::string& usage_url() const { return usage_url_; }
|
| + const std::string& payment_url() const { return payment_url_; }
|
| + const std::string& post_method() const { return post_method_; }
|
| + const std::string& post_data() const { return post_data_; }
|
|
|
| bool IsConnectedState() const;
|
| bool IsConnectingState() const;
|
| @@ -97,6 +101,8 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
|
| dns_servers_ = dns_servers;
|
| }
|
|
|
| + // TODO(gauravsh): Audit the list of properties that we are caching. We should
|
| + // only be doing this for commonly accessed properties. crbug.com/252553
|
| // Common Network Service properties
|
| std::string security_;
|
| std::string device_path_;
|
| @@ -130,6 +136,11 @@ class CHROMEOS_EXPORT NetworkState : public ManagedState {
|
| std::string roaming_;
|
| bool activate_over_non_cellular_networks_;
|
| bool cellular_out_of_credits_;
|
| + // Cellular payment portal properties.
|
| + std::string usage_url_;
|
| + std::string payment_url_;
|
| + std::string post_method_;
|
| + std::string post_data_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(NetworkState);
|
| };
|
|
|