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

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..50e46bcaec385f3ac95b4d3e7c3d242d928a5e35 100644
--- a/chromeos/dbus/fake_shill_manager_client.h
+++ b/chromeos/dbus/fake_shill_manager_client.h
@@ -5,6 +5,7 @@
#ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
#define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_
+#include <map>
#include <string>
#include "base/callback.h"
@@ -102,6 +103,13 @@ class CHROMEOS_EXPORT FakeShillManagerClient
int GetInteractiveDelay() const override;
void SetBestServiceToConnect(const std::string& service_path) override;
stevenjb 2016/10/21 19:41:20 elim blank line
+ void SetNetworkThrottlingStatus(
+ bool enabled,
+ uint32_t upload_rate_kbits,
+ uint32_t download_rate_kbits,
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) override {}
stevenjb 2016/10/21 19:41:21 Don't provide a default implementation in the head
kirtika1 2016/10/23 00:04:49 Done.
+
// Constants used for testing.
static const char kFakeEthernetNetworkGuid[];

Powered by Google App Engine
This is Rietveld 408576698