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

Unified Diff: chromeos/dbus/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/shill_manager_client.h
diff --git a/chromeos/dbus/shill_manager_client.h b/chromeos/dbus/shill_manager_client.h
index 02f84de38f8e0bc4b572d992a6d0ad934590622e..2be619b00776212885e6969f015e3c1b5b02d733 100644
--- a/chromeos/dbus/shill_manager_client.h
+++ b/chromeos/dbus/shill_manager_client.h
@@ -224,6 +224,13 @@ class CHROMEOS_EXPORT ShillManagerClient : public DBusClient {
virtual void ConnectToBestServices(const base::Closure& callback,
const ErrorCallback& error_callback) = 0;
+ virtual void SetNetworkThrottlingStatus(
Andrew T Wilson (Slow) 2016/10/21 13:27:30 Add comment/documentation about how to use this.
stevenjb 2016/10/21 19:41:21 +1. Please document all 3 args.
kirtika1 2016/10/23 00:04:49 Done.
+ bool enabled,
+ uint32_t upload_rate_kbits,
+ uint32_t download_rate_kbits,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) = 0;
+
// Returns an interface for testing (stub only), or returns NULL.
virtual TestInterface* GetTestInterface() = 0;

Powered by Google App Engine
This is Rietveld 408576698