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

Unified Diff: chromeos/dbus/shill_manager_client.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/dbus/shill_manager_client.h ('k') | chromeos/dbus/shill_manager_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_manager_client.cc
diff --git a/chromeos/dbus/shill_manager_client.cc b/chromeos/dbus/shill_manager_client.cc
index 5951f25408f8e0c253a5f74c80d7aaaf022bb870..2531d83477b42b766612ca5e9c4df0f056d98eab 100644
--- a/chromeos/dbus/shill_manager_client.cc
+++ b/chromeos/dbus/shill_manager_client.cc
@@ -90,22 +90,6 @@ class ShillManagerClientImpl : public ShillManagerClient {
error_callback);
}
- void SetNetworkThrottlingStatus(
- const bool enabled,
- const uint32_t upload_rate_kbits,
- const uint32_t download_rate_kbits,
- const base::Closure& callback,
- const ErrorCallback& error_callback) override {
- dbus::MethodCall method_call(shill::kFlimflamManagerInterface,
- shill::kSetNetworkThrottlingFunction);
- dbus::MessageWriter writer(&method_call);
- writer.AppendBool(enabled);
- writer.AppendUint32(upload_rate_kbits);
- writer.AppendUint32(download_rate_kbits);
- helper_->CallVoidMethodWithErrorCallback(&method_call, callback,
- error_callback);
- }
-
void DisableTechnology(const std::string& type,
const base::Closure& callback,
const ErrorCallback& error_callback) override {
« no previous file with comments | « chromeos/dbus/shill_manager_client.h ('k') | chromeos/dbus/shill_manager_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698