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

Issue 2588273002: Add UMA metrics for pop-up blocked page action on desktop (Closed)

Created:
4 years ago by charleszhao
Modified:
3 years, 11 months ago
Reviewers:
dominickn, Nico, jwd
CC:
chromium-reviews, asvitkine+watch_chromium.org, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA metrics for pop-up blocked page action on desktop (1) Add counters for popup actions (desktop only in this CL.) (2) Add unittest. "Dismiss" is not counted, because it's not very meaningful for desktop popup actions; There is no single dismiss button, and count in destructor will count all the displays. BUG=650132 Review-Url: https://codereview.chromium.org/2588273002 Cr-Commit-Position: refs/heads/master@{#441870} Committed: https://chromium.googlesource.com/chromium/src/+/e5e6f6ee653ae95d6fb7f9a408c7370348e14fee

Patch Set 1 #

Total comments: 8

Patch Set 2 : format fix, remove #if directive #

Total comments: 3

Patch Set 3 : Changed the comment of enum PopupsAction #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -3 lines) Patch
M chrome/browser/content_settings/chrome_content_settings_utils.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/chrome_content_settings_utils.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 5 chunks +22 lines, -3 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model_browsertest.cc View 1 1 chunk +54 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
charleszhao
Thanks Dom, I'll add Android and IOS counter in another CL.
4 years ago (2016-12-20 05:03:30 UTC) #3
dominickn
Thanks for looking at this and adding a test! I have just small things. 1. ...
4 years ago (2016-12-20 05:31:48 UTC) #4
charleszhao
All done. Thanks Dom. https://codereview.chromium.org/2588273002/diff/1/chrome/browser/content_settings/chrome_content_settings_utils.cc File chrome/browser/content_settings/chrome_content_settings_utils.cc (right): https://codereview.chromium.org/2588273002/diff/1/chrome/browser/content_settings/chrome_content_settings_utils.cc#newcode25 chrome/browser/content_settings/chrome_content_settings_utils.cc:25: On 2016/12/20 05:31:48, dominickn wrote: ...
4 years ago (2016-12-20 22:43:50 UTC) #8
dominickn
lgtm, thanks!
4 years ago (2016-12-20 22:54:59 UTC) #9
charleszhao
Hi, markusheintz need owner review for these 6 files: chrome/browser/content_settings/chrome_content_settings_utils.cc [13] chrome/browser/content_settings/chrome_content_settings_utils.h [13] chrome/browser/content_settings/tab_specific_content_settings.cc [13] ...
4 years ago (2016-12-21 00:36:53 UTC) #11
jwd
lgtm
4 years ago (2016-12-21 19:21:34 UTC) #16
charleszhao
On 2016/12/21 19:21:34, jwd wrote: > lgtm Thanks! Hi, Nico, need owner review for these ...
3 years, 11 months ago (2017-01-02 22:26:51 UTC) #18
Nico
my files lgtm with nits https://codereview.chromium.org/2588273002/diff/20001/chrome/browser/content_settings/chrome_content_settings_utils.h File chrome/browser/content_settings/chrome_content_settings_utils.h (right): https://codereview.chromium.org/2588273002/diff/20001/chrome/browser/content_settings/chrome_content_settings_utils.h#newcode42 chrome/browser/content_settings/chrome_content_settings_utils.h:42: // action in the ...
3 years, 11 months ago (2017-01-03 14:34:07 UTC) #19
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/2588273002/20001
3 years, 11 months ago (2017-01-06 02:33:12 UTC) #21
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/2588273002/40001
3 years, 11 months ago (2017-01-06 03:12:31 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 04:10:15 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e5e6f6ee653ae95d6fb7f9a408c7...

Powered by Google App Engine
This is Rietveld 408576698