| Index: chromeos/network/network_state_handler.h
|
| diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
|
| index c3df34455630b05ede7cb0379c2c455d537c9597..62b375838f817fea939c5146f4055deca632be98 100644
|
| --- a/chromeos/network/network_state_handler.h
|
| +++ b/chromeos/network/network_state_handler.h
|
| @@ -225,6 +225,14 @@ class CHROMEOS_EXPORT NetworkStateHandler
|
| // only set it.
|
| void SetWakeOnLanEnabled(bool enabled);
|
|
|
| + // Enable or disable network bandwidth throttling, on all interfaces on the
|
| + // system. If |enabled| is true, |upload_rate_kbits| and |download_rate_kbits|
|
| + // are the desired rates (in kbits/s) to throttle to. If |enabled| is false,
|
| + // throttling is off, and the rates are ignored.
|
| + void SetNetworkThrottlingStatus(bool enabled,
|
| + uint32_t upload_rate_kbits,
|
| + uint32_t download_rate_kbits);
|
| +
|
| const std::string& GetCheckPortalListForTest() const {
|
| return check_portal_list_;
|
| }
|
|
|