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

Unified Diff: chromeos/network/network_state_handler.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/network/network_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index b752227708f59086e83ce3f4bef30dc7d7ac2689..d685acdf8013f979c6c4ea39fc22ca9177a14782 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -225,6 +225,10 @@ class CHROMEOS_EXPORT NetworkStateHandler
// only set it.
void SetWakeOnLanEnabled(bool enabled);
+ void SetNetworkThrottlingStatus(bool enabled,
+ uint32_t upload_rate_kbits,
+ uint32_t download_rate_kbits);
stevenjb 2016/10/21 19:41:21 Document, including args. Even though this happens
+
const std::string& GetCheckPortalListForTest() const {
return check_portal_list_;
}

Powered by Google App Engine
This is Rietveld 408576698