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

Unified Diff: chrome/browser/resources/net_internals/bandwidth_view.js

Issue 473723002: Update data reduction proxy statistics prefs less often on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tooManyWritesPatch
Patch Set: Fixing net internals bandwidth page Created 6 years, 3 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: chrome/browser/resources/net_internals/bandwidth_view.js
diff --git a/chrome/browser/resources/net_internals/bandwidth_view.js b/chrome/browser/resources/net_internals/bandwidth_view.js
index 9f0e4e61cb95a1d8f67fee60365adb2352f5d267..8e2ce81c9bbaeefa6192f2ddefe55fd4a85ec208 100644
--- a/chrome/browser/resources/net_internals/bandwidth_view.js
+++ b/chrome/browser/resources/net_internals/bandwidth_view.js
@@ -73,9 +73,11 @@ var BandwidthView = (function() {
var sessionOriginal = sessionNetworkStats.session_original_content_length;
var sessionReceived = sessionNetworkStats.session_received_content_length;
var historicOriginal =
- historicNetworkStats.historic_original_content_length;
+ historicNetworkStats.historic_original_content_length +
+ sessionOriginal;
var historicReceived =
- historicNetworkStats.historic_received_content_length;
+ historicNetworkStats.historic_received_content_length +
+ sessionReceived;
mmenke 2014/09/15 15:11:02 Why the change? We still include session prefs in
megjablon 2014/09/15 18:19:23 Ah I didn't understand how historic_received_conte
var rows = [];
rows.push({

Powered by Google App Engine
This is Rietveld 408576698