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

Issue 111113006: Metrics fix for data reduction proxy. (Closed)

Created:
7 years ago by marq (ping after 24h)
Modified:
6 years, 11 months ago
Reviewers:
bengr
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Metrics fix for data reduction proxy. Refactors histogram increments into virtual methods for mocking. Adds unit tests that expect the correct metrics calls. Fixes timing of RecordDataReductionInit() so that it happens when the proxy is unavailable. BUG=328579 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243201

Patch Set 1 #

Total comments: 25

Patch Set 2 : Review feedabck. #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -53 lines) Patch
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h View 1 2 2 chunks +40 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc View 1 7 chunks +28 lines, -43 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.h View 5 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_settings_unittest.cc View 1 12 chunks +63 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
marq (ping after 24h)
7 years ago (2013-12-20 22:16:50 UTC) #1
bengr
https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc (right): https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc#newcode98 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc:98: RecordDataReductionInit(); Did you move this here so we record ...
6 years, 11 months ago (2014-01-02 17:30:39 UTC) #2
marq (ping after 24h)
Thanks for the review, PTAL. https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc File chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc (right): https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc#newcode98 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc:98: RecordDataReductionInit(); On 2014/01/02 17:30:40, ...
6 years, 11 months ago (2014-01-02 20:45:47 UTC) #3
bengr
lgtm, with nit. https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h File chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h (right): https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h#newcode51 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h:51: // These names are misleading -- ...
6 years, 11 months ago (2014-01-06 16:51:23 UTC) #4
marq (ping after 24h)
On 2014/01/06 16:51:23, bengr1 wrote: > lgtm, with nit. > > https://codereview.chromium.org/111113006/diff/1/chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h > File chrome/browser/net/spdyproxy/data_reduction_proxy_settings.h ...
6 years, 11 months ago (2014-01-06 17:50:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marq@chromium.org/111113006/180001
6 years, 11 months ago (2014-01-06 17:51:37 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=241973
6 years, 11 months ago (2014-01-06 20:46:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marq@chromium.org/111113006/180001
6 years, 11 months ago (2014-01-06 21:02:51 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-06 23:41:32 UTC) #9
Message was sent while issue was closed.
Change committed as 243201

Powered by Google App Engine
This is Rietveld 408576698