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

Issue 421653005: Adding synthetic field trial for DataReductionProxyEnabled (Closed)

Created:
6 years, 4 months ago by megjablon
Modified:
6 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@newPltWithCL
Project:
chromium
Visibility:
Public.

Description

Adding synthetic field trial for the trial name DataReductionProxyEnabled and groups |true| and |false| that indicate whether the data reduction proxy proxy is turned on or not. The field trial was added so we can see if the data reduction proxy is turned on or not for PLT.PT_*_DataReductionProxy histograms, but can be viewed on any histogram. BUG=394125 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287133

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed asvitkine comments #

Total comments: 9

Patch Set 3 : Addressed comments #

Total comments: 8

Patch Set 4 : Addressed asvitkine comments #

Patch Set 5 : Moving set callback out of init #

Total comments: 4

Patch Set 6 : indent fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -6 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_accessor.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_accessor.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_service_accessor.h View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_service_accessor.cc View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings.h View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_test_utils.cc View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/browser/data_reduction_proxy_settings_unittest.cc View 1 2 3 4 1 chunk +8 lines, -3 lines 0 comments Download
M components/metrics/metrics_service.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
megjablon
6 years, 4 months ago (2014-07-29 21:16:17 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/421653005/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc File components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc (right): https://codereview.chromium.org/421653005/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc#newcode138 components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc:138: IsDataReductionProxyEnabled() ? true : false); I don't think you ...
6 years, 4 months ago (2014-07-30 17:27:05 UTC) #2
megjablon
https://codereview.chromium.org/421653005/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc File components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc (right): https://codereview.chromium.org/421653005/diff/1/components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc#newcode138 components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc:138: IsDataReductionProxyEnabled() ? true : false); On 2014/07/30 17:27:04, Alexei ...
6 years, 4 months ago (2014-07-30 18:50:49 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/421653005/diff/20001/components/metrics/metrics_service.h File components/metrics/metrics_service.h (right): https://codereview.chromium.org/421653005/diff/20001/components/metrics/metrics_service.h#newcode71 components/metrics/metrics_service.h:71: friend class ChromeMetricsServiceAccessor; Can you change this to be ...
6 years, 4 months ago (2014-07-30 19:00:32 UTC) #4
bengr
https://codereview.chromium.org/421653005/diff/20001/chrome/browser/metrics/chrome_metrics_service_accessor.cc File chrome/browser/metrics/chrome_metrics_service_accessor.cc (right): https://codereview.chromium.org/421653005/diff/20001/chrome/browser/metrics/chrome_metrics_service_accessor.cc#newcode54 chrome/browser/metrics/chrome_metrics_service_accessor.cc:54: if (g_browser_process->metrics_service()) { Would we ever not have a ...
6 years, 4 months ago (2014-07-30 19:08:22 UTC) #5
megjablon
https://codereview.chromium.org/421653005/diff/20001/chrome/browser/metrics/chrome_metrics_service_accessor.cc File chrome/browser/metrics/chrome_metrics_service_accessor.cc (right): https://codereview.chromium.org/421653005/diff/20001/chrome/browser/metrics/chrome_metrics_service_accessor.cc#newcode54 chrome/browser/metrics/chrome_metrics_service_accessor.cc:54: if (g_browser_process->metrics_service()) { On 2014/07/30 19:08:22, bengr1 wrote: > ...
6 years, 4 months ago (2014-07-30 21:27:07 UTC) #6
Alexei Svitkine (slow)
LGTM % comments. Thanks! https://codereview.chromium.org/421653005/diff/40001/chrome/browser/metrics/chrome_metrics_service_accessor.cc File chrome/browser/metrics/chrome_metrics_service_accessor.cc (right): https://codereview.chromium.org/421653005/diff/40001/chrome/browser/metrics/chrome_metrics_service_accessor.cc#newcode9 chrome/browser/metrics/chrome_metrics_service_accessor.cc:9: #include "chrome/browser/metrics/metrics_service_accessor.h" Nit: This include ...
6 years, 4 months ago (2014-07-30 21:33:31 UTC) #7
megjablon
https://codereview.chromium.org/421653005/diff/40001/chrome/browser/metrics/chrome_metrics_service_accessor.cc File chrome/browser/metrics/chrome_metrics_service_accessor.cc (right): https://codereview.chromium.org/421653005/diff/40001/chrome/browser/metrics/chrome_metrics_service_accessor.cc#newcode9 chrome/browser/metrics/chrome_metrics_service_accessor.cc:9: #include "chrome/browser/metrics/metrics_service_accessor.h" On 2014/07/30 21:33:31, Alexei Svitkine wrote: > ...
6 years, 4 months ago (2014-07-30 21:42:51 UTC) #8
bengr
https://codereview.chromium.org/421653005/diff/100001/chrome/browser/metrics/chrome_metrics_service_accessor.h File chrome/browser/metrics/chrome_metrics_service_accessor.h (right): https://codereview.chromium.org/421653005/diff/100001/chrome/browser/metrics/chrome_metrics_service_accessor.h#newcode74 chrome/browser/metrics/chrome_metrics_service_accessor.h:74: const std::string& group); indentation https://codereview.chromium.org/421653005/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc File components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc (right): https://codereview.chromium.org/421653005/diff/100001/components/data_reduction_proxy/browser/data_reduction_proxy_settings.cc#newcode160 ...
6 years, 4 months ago (2014-07-30 23:42:07 UTC) #9
megjablon
https://codereview.chromium.org/421653005/diff/100001/chrome/browser/metrics/chrome_metrics_service_accessor.h File chrome/browser/metrics/chrome_metrics_service_accessor.h (right): https://codereview.chromium.org/421653005/diff/100001/chrome/browser/metrics/chrome_metrics_service_accessor.h#newcode74 chrome/browser/metrics/chrome_metrics_service_accessor.h:74: const std::string& group); On 2014/07/30 23:42:07, bengr1 wrote: > ...
6 years, 4 months ago (2014-07-30 23:57:07 UTC) #10
bengr
lgtm
6 years, 4 months ago (2014-07-31 16:27:52 UTC) #11
bengr
On 2014/07/31 16:27:52, bengr1 wrote: > lgtm I forgot one thing: Please update the CL ...
6 years, 4 months ago (2014-07-31 16:28:35 UTC) #12
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-07-31 17:28:27 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/421653005/100001
6 years, 4 months ago (2014-07-31 17:29:23 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win8_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-31 18:26:02 UTC) #15
megjablon
The CQ bit was unchecked by megjablon@chromium.org
6 years, 4 months ago (2014-07-31 18:32:18 UTC) #16
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-07-31 18:33:24 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/421653005/110001
6 years, 4 months ago (2014-07-31 18:34:11 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-07-31 21:53:38 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 10:29:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/2299)
6 years, 4 months ago (2014-08-01 10:29:58 UTC) #21
megjablon
The CQ bit was checked by megjablon@chromium.org
6 years, 4 months ago (2014-08-01 16:57:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/megjablon@chromium.org/421653005/110001
6 years, 4 months ago (2014-08-01 17:02:03 UTC) #23
commit-bot: I haz the power
6 years, 4 months ago (2014-08-02 00:35:22 UTC) #24
Message was sent while issue was closed.
Change committed as 287133

Powered by Google App Engine
This is Rietveld 408576698