| Index: chromeos/network/network_state_handler.h
|
| diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
|
| index 34bac738572f970ef44d7156d1aaa3b870bca3f7..267b01d9c9f61a4f6ae526cf562bdbc98c52ec0a 100644
|
| --- a/chromeos/network/network_state_handler.h
|
| +++ b/chromeos/network/network_state_handler.h
|
| @@ -208,7 +208,19 @@ class CHROMEOS_EXPORT NetworkStateHandler
|
| // refer to and fetch this NetworkState in the future.
|
| // NOTE: only GetNetworkStateFromGuid is supported to fetch "tether"
|
| // NetworkStates.
|
| - void AddTetherNetworkState(const std::string& guid, const std::string& name);
|
| + void AddTetherNetworkState(const std::string& guid,
|
| + const std::string& name,
|
| + const std::string& carrier,
|
| + int battery_percentage,
|
| + int signal_strength);
|
| +
|
| + // Updates the tether properties (carrier, battery percentage, and signal
|
| + // strength) for a network which has already been added via
|
| + // AddTetherNetworkState. Returns whether the update was successful.
|
| + bool UpdateTetherNetworkProperties(const std::string& guid,
|
| + const std::string& carrier,
|
| + int battery_percentage,
|
| + int signal_strength);
|
|
|
| // Remove a Tether NetworkState, using the same |guid| passed to
|
| // AddTetherNetworkState.
|
|
|