Index: chromeos/network/shill_property_handler.h |
diff --git a/chromeos/network/shill_property_handler.h b/chromeos/network/shill_property_handler.h |
index fd299b533185b3c12942225a5c9f05f949eed045..a5146342befb4a69e1358cc27c95964f92f0d5db 100644 |
--- a/chromeos/network/shill_property_handler.h |
+++ b/chromeos/network/shill_property_handler.h |
@@ -139,6 +139,14 @@ class CHROMEOS_EXPORT ShillPropertyHandler |
// only set it. |
void SetWakeOnLanEnabled(bool enabled); |
+ // Calls shill to enable/disable network bandwidth throttling. If |enabled| |
+ // is true, |upload_rate_kbits| and |download_rate_kbits| specify the rate |
+ // in kbits/s to throttle to. If |enabled| is false, throttling is disabled |
+ // and the rates are ignored. |
+ void SetNetworkThrottlingStatus(bool enabled, |
+ uint32_t upload_rate_kbits, |
+ uint32_t download_rate_kbits); |
+ |
// Requests an immediate network scan. |
void RequestScan() const; |