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

Issue 2956703002: Adds Server Previews protocol UMA plus UMA for not accepting previews (Closed)

Created:
3 years, 6 months ago by dougarnett
Modified:
3 years, 5 months ago
Reviewers:
bengr, rkaplow, tbansal1
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds Server Previews protocol UMA plus UMA for not accepting previews BUG=731895 patch from issue 2945423002 at patchset 80001 (http://crrev.com/2945423002#ps80001) Review-Url: https://codereview.chromium.org/2956703002 Cr-Commit-Position: refs/heads/master@{#483782} Committed: https://chromium.googlesource.com/chromium/src/+/e6e350f9b03a035a1a027d6aff7d4d134360a1fb

Patch Set 1 #

Patch Set 2 : Fixed an enum val #

Total comments: 4

Patch Set 3 : Removed Exp histogram variant #

Patch Set 4 : Adds compressed-video as AcceptTransform #

Patch Set 5 : Removed debug line #

Patch Set 6 : Unittests for AcceptTransform histogram #

Patch Set 7 : Added tests for NotAcceptingTransform histogram and fixed unittest hitting new NOTREACHED check #

Total comments: 10

Patch Set 8 : Updates from Ben's feedback #

Total comments: 25

Patch Set 9 : UPdates for Ben's feedback #

Patch Set 10 : Merge #

Patch Set 11 : TransformType renamed to TransformDirective #

Patch Set 12 : Fix merge issue for unittest wrt AlwaysOn and PreviewsDecider #

Messages

Total messages: 62 (46 generated)
dougarnett
Split out new CL for using 2 histograms. Please see if you like better.
3 years, 6 months ago (2017-06-23 20:38:01 UTC) #6
dougarnett
3 years, 6 months ago (2017-06-23 20:52:16 UTC) #8
tbansal1
https://codereview.chromium.org/2956703002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2956703002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode189 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:189: UMA_HISTOGRAM_ENUMERATION("DataReductionProxy.Protocol.AcceptTransform.Exp", I am still not convinced that we need ...
3 years, 6 months ago (2017-06-23 21:29:37 UTC) #9
dougarnett
https://codereview.chromium.org/2956703002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2956703002/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode189 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:189: UMA_HISTOGRAM_ENUMERATION("DataReductionProxy.Protocol.AcceptTransform.Exp", On 2017/06/23 21:29:36, tbansal1 wrote: > I am ...
3 years, 6 months ago (2017-06-23 21:47:21 UTC) #12
tbansal1
lgtm
3 years, 6 months ago (2017-06-23 21:54:49 UTC) #13
dougarnett
Robert, would you be able to review these new histograms?
3 years, 6 months ago (2017-06-23 22:26:41 UTC) #15
bengr
https://codereview.chromium.org/2956703002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2956703002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode193 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:193: accept_transform_header_value.find(lite_page_directive())) { This is a very brittle way of ...
3 years, 5 months ago (2017-06-26 18:11:48 UTC) #32
dougarnett
https://codereview.chromium.org/2956703002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2956703002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode193 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:193: accept_transform_header_value.find(lite_page_directive())) { On 2017/06/26 18:11:47, bengr wrote: > This ...
3 years, 5 months ago (2017-06-26 21:19:17 UTC) #35
dougarnett
On 2017/06/26 21:19:17, dougarnett wrote: > https://codereview.chromium.org/2956703002/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc > File > components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc > (right): > > ...
3 years, 5 months ago (2017-06-27 20:47:41 UTC) #38
rkaplow
lgtm histograms lg
3 years, 5 months ago (2017-06-27 21:36:29 UTC) #39
bengr
https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc File components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc (right): https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc#newcode774 components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc:774: headers.SetHeader(chrome_proxy_accept_transform_header(), "empty-image"); Is there anything magical about this string, ...
3 years, 5 months ago (2017-06-28 16:45:51 UTC) #40
dougarnett
https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc File components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc (right): https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc#newcode774 components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc:774: headers.SetHeader(chrome_proxy_accept_transform_header(), "empty-image"); On 2017/06/28 16:45:50, bengr wrote: > Is ...
3 years, 5 months ago (2017-06-28 22:12:39 UTC) #47
bengr
lgtm modulo the naming nit. https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h File components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h (right): https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h#newcode27 components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h:27: enum TransformType { On ...
3 years, 5 months ago (2017-06-29 00:25:06 UTC) #50
dougarnett
On 2017/06/29 00:25:06, bengr wrote: > lgtm modulo the naming nit. > > https://codereview.chromium.org/2956703002/diff/140001/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h > ...
3 years, 5 months ago (2017-06-30 17:43:50 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2956703002/220001
3 years, 5 months ago (2017-06-30 18:28:35 UTC) #59
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 19:07:53 UTC) #62
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/e6e350f9b03a035a1a027d6aff7d...

Powered by Google App Engine
This is Rietveld 408576698