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

Issue 2477073002: Adding UMA to track previews opt outs and blacklist eligibility (Closed)

Created:
4 years, 1 month ago by RyanSturm
Modified:
4 years, 1 month ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding UMA to track previews opt outs and blacklist eligibility This CL adds UMA to track the reason that a user was not shown a preview (or if it was allowed) and whether a user opts out when shown a preview. BUG=647717 Committed: https://crrev.com/cc61592651c3018a146387f691bc4cbd60f7807b Committed: https://crrev.com/af5258ab4404766182e87f2c773051684c7d8c72 Cr-Original-Commit-Position: refs/heads/master@{#431020} Cr-Commit-Position: refs/heads/master@{#431181}

Patch Set 1 #

Patch Set 2 : removed general histogram #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Total comments: 14

Patch Set 6 : tbansal comments #

Patch Set 7 : build file change #

Total comments: 6

Patch Set 8 : tbansal comments #

Total comments: 2

Patch Set 9 : asvitkine nit #

Patch Set 10 : failing DCHECK fixed in test #

Patch Set 11 : tbansal nits #

Patch Set 12 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -85 lines) Patch
M components/previews/core/BUILD.gn View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M components/previews/core/previews_black_list.h View 1 2 3 4 5 6 2 chunks +26 lines, -3 lines 0 comments Download
M components/previews/core/previews_black_list.cc View 1 2 3 4 5 6 7 3 chunks +17 lines, -6 lines 0 comments Download
M components/previews/core/previews_black_list_unittest.cc View 1 2 3 4 5 6 7 10 chunks +142 lines, -63 lines 0 comments Download
M components/previews/core/previews_io_data.cc View 1 2 3 4 5 6 3 chunks +41 lines, -8 lines 0 comments Download
M components/previews/core/previews_io_data_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +147 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 4 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 64 (50 generated)
RyanSturm
tbansal: PTAL
4 years, 1 month ago (2016-11-07 23:37:26 UTC) #18
tbansal1
https://codereview.chromium.org/2477073002/diff/80001/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2477073002/diff/80001/components/previews/core/previews_black_list.cc#newcode79 components/previews/core/previews_black_list.cc:79: UMA_HISTOGRAM_BOOLEAN("Previews.OptOut.UserOptedOut.Offline", opt_out); May be Previews.Offline.*.* so that all Offline ...
4 years, 1 month ago (2016-11-08 00:30:52 UTC) #19
RyanSturm
tbansal: ptal https://codereview.chromium.org/2477073002/diff/80001/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2477073002/diff/80001/components/previews/core/previews_black_list.cc#newcode79 components/previews/core/previews_black_list.cc:79: UMA_HISTOGRAM_BOOLEAN("Previews.OptOut.UserOptedOut.Offline", opt_out); On 2016/11/08 00:30:52, tbansal1 wrote: ...
4 years, 1 month ago (2016-11-08 22:22:29 UTC) #28
tbansal1
lgtm % comments. https://codereview.chromium.org/2477073002/diff/120001/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2477073002/diff/120001/components/previews/core/previews_black_list.cc#newcode9 components/previews/core/previews_black_list.cc:9: #include "base/metrics/histogram.h" include base/metrics/histogram_macros.h instead of ...
4 years, 1 month ago (2016-11-09 17:50:52 UTC) #31
RyanSturm
asvitkine: PTAL https://codereview.chromium.org/2477073002/diff/120001/components/previews/core/previews_black_list.cc File components/previews/core/previews_black_list.cc (right): https://codereview.chromium.org/2477073002/diff/120001/components/previews/core/previews_black_list.cc#newcode9 components/previews/core/previews_black_list.cc:9: #include "base/metrics/histogram.h" On 2016/11/09 17:50:51, tbansal1 wrote: ...
4 years, 1 month ago (2016-11-09 18:48:29 UTC) #35
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/2477073002/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2477073002/diff/140001/tools/metrics/histograms/histograms.xml#newcode48398 tools/metrics/histograms/histograms.xml:48398: +<histogram name="Previews.OptOut.UserOptedOut.Offline" units="Boolean"> Nit: Add a ...
4 years, 1 month ago (2016-11-09 18:54:12 UTC) #36
RyanSturm
https://codereview.chromium.org/2477073002/diff/140001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2477073002/diff/140001/tools/metrics/histograms/histograms.xml#newcode48398 tools/metrics/histograms/histograms.xml:48398: +<histogram name="Previews.OptOut.UserOptedOut.Offline" units="Boolean"> On 2016/11/09 18:54:12, Alexei Svitkine (very ...
4 years, 1 month ago (2016-11-09 19:11:41 UTC) #37
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/2477073002/160001
4 years, 1 month ago (2016-11-09 19:12:27 UTC) #40
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 1 month ago (2016-11-09 20:17:42 UTC) #41
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/cc61592651c3018a146387f691bc4cbd60f7807b Cr-Commit-Position: refs/heads/master@{#431020}
4 years, 1 month ago (2016-11-09 20:33:07 UTC) #43
Dirk Pranke
Looks like this added a flaky test. See crbug.com/663940 for the failures, including https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/54545 I'm ...
4 years, 1 month ago (2016-11-10 00:16:29 UTC) #44
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/2477073002/220001
4 years, 1 month ago (2016-11-10 04:12:35 UTC) #60
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 1 month ago (2016-11-10 04:20:58 UTC) #62
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 04:26:08 UTC) #64
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/af5258ab4404766182e87f2c773051684c7d8c72
Cr-Commit-Position: refs/heads/master@{#431181}

Powered by Google App Engine
This is Rietveld 408576698