Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: chromeos/network/shill_property_handler.cc

Issue 2463023002: Revert of Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted by hand Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/shill_property_handler.h ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/shill_property_handler.cc
diff --git a/chromeos/network/shill_property_handler.cc b/chromeos/network/shill_property_handler.cc
index 6292e281961631ae6db7053b685f877680c5dd42..a521385e6a47b15f0a12007c2ffcd39987192203 100644
--- a/chromeos/network/shill_property_handler.cc
+++ b/chromeos/network/shill_property_handler.cc
@@ -229,18 +229,6 @@ void ShillPropertyHandler::SetWakeOnLanEnabled(bool enabled) {
network_handler::ErrorCallback()));
}
-void ShillPropertyHandler::SetNetworkThrottlingStatus(
- bool throttling_enabled,
- uint32_t upload_rate_kbits,
- uint32_t download_rate_kbits) {
- shill_manager_->SetNetworkThrottlingStatus(
- throttling_enabled, upload_rate_kbits, download_rate_kbits,
- base::Bind(&base::DoNothing),
- base::Bind(&network_handler::ShillErrorCallbackFunction,
- "SetNetworkThrottlingStatus failed", "Manager",
- network_handler::ErrorCallback()));
-}
-
void ShillPropertyHandler::RequestScan() const {
shill_manager_->RequestScan(
"", base::Bind(&base::DoNothing),
« no previous file with comments | « chromeos/network/shill_property_handler.h ('k') | components/policy/resources/policy_templates.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698