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

Unified Diff: chromeos/dbus/fake_shill_manager_client.h

Issue 2364703002: Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add network bandwidth throttling as an enterprise policy Created 4 years, 2 months 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
Index: chromeos/dbus/fake_shill_manager_client.h
diff --git a/chromeos/dbus/fake_shill_manager_client.h b/chromeos/dbus/fake_shill_manager_client.h
index de476915a5a4e3972414c5ff76c843c8a72c29b3..d75d369e72af23ce86b8cbcf6fdf40a57bad7d07 100644
--- a/chromeos/dbus/fake_shill_manager_client.h
+++ b/chromeos/dbus/fake_shill_manager_client.h
@@ -102,6 +102,12 @@ class CHROMEOS_EXPORT FakeShillManagerClient
int GetInteractiveDelay() const override;
void SetBestServiceToConnect(const std::string& service_path) override;
+ void SetNetworkThrottlingStatus(bool enabled,
+ uint32_t upload_rate_kbits,
+ uint32_t download_rate_kbits,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback);
+
// Constants used for testing.
static const char kFakeEthernetNetworkGuid[];

Powered by Google App Engine
This is Rietveld 408576698