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

Unified Diff: chromeos/network/network_state_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/network_state_handler.h ('k') | chromeos/network/shill_property_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_state_handler.cc
diff --git a/chromeos/network/network_state_handler.cc b/chromeos/network/network_state_handler.cc
index a07219da47dfbb7d26484759d018e0eb02754052..bf0681c27eb8410e736912e1161bcbe190a70756 100644
--- a/chromeos/network/network_state_handler.cc
+++ b/chromeos/network/network_state_handler.cc
@@ -15,7 +15,6 @@
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/metrics/histogram_macros.h"
-#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
@@ -385,18 +384,6 @@ void NetworkStateHandler::SetWakeOnLanEnabled(bool enabled) {
shill_property_handler_->SetWakeOnLanEnabled(enabled);
}
-void NetworkStateHandler::SetNetworkThrottlingStatus(
- bool enabled,
- uint32_t upload_rate_kbits,
- uint32_t download_rate_kbits) {
- NET_LOG_EVENT("SetNetworkThrottlingStatus",
- enabled ? ("true :" + base::IntToString(upload_rate_kbits) +
- ", " + base::IntToString(download_rate_kbits))
- : "false");
- shill_property_handler_->SetNetworkThrottlingStatus(
- enabled, upload_rate_kbits, download_rate_kbits);
-}
-
const NetworkState* NetworkStateHandler::GetEAPForEthernet(
const std::string& service_path) {
const NetworkState* network = GetNetworkState(service_path);
« no previous file with comments | « chromeos/network/network_state_handler.h ('k') | chromeos/network/shill_property_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698