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

Unified Diff: chrome/browser/chromeos/net/network_throttling_observer.cc

Issue 2461383002: Revert of Add network throttling as an enterprise policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | chrome/browser/chromeos/net/network_throttling_observer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/net/network_throttling_observer.cc
diff --git a/chrome/browser/chromeos/net/network_throttling_observer.cc b/chrome/browser/chromeos/net/network_throttling_observer.cc
index c2022e38e1d0710ed8e593c32075121f13281e2d..352c9d0b514e50f3d217ca6c471a64460363d696 100644
--- a/chrome/browser/chromeos/net/network_throttling_observer.cc
+++ b/chrome/browser/chromeos/net/network_throttling_observer.cc
@@ -47,8 +47,7 @@
bool enabled = false;
uint32_t upload_rate = 0, download_rate = 0;
if (throttling_policy) {
- int upload_rate_read = 0;
- int download_rate_read = 0;
+ int upload_rate_read, download_rate_read;
throttling_policy->GetBoolean("enabled", &enabled);
« no previous file with comments | « no previous file | chrome/browser/chromeos/net/network_throttling_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698