|
|
Created:
3 years, 10 months ago by charleszhao Modified:
3 years, 9 months ago CC:
asvitkine+watch_chromium.org, chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd UMA histogram for popup actions on Android.
This CL adds metrics for the pop-up blocked infobar on Android.
BUG=650132
Review-Url: https://codereview.chromium.org/2662163002
Cr-Commit-Position: refs/heads/master@{#457285}
Committed: https://chromium.googlesource.com/chromium/src/+/0ab3b67a846c21a42996cf6d0e19a331b31dfacb
Patch Set 1 #
Total comments: 4
Messages
Total messages: 25 (11 generated)
The CQ bit was checked by charleszhao@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
charleszhao@chromium.org changed reviewers: + dominickn@chromium.org
Thanks, Dom
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm Please remove the second sentence from the subject (and references to iOS), so it's just "Add UMA histogram for popup actions on Android" Description: "Add UMA histogram for popup actions on Android This CL adds metrics for the pop-up blocked infobar on Android."
Description was changed from ========== Add UMA histogram for popup actions on Android. histogram for ios is not added because of the dependency restriction. BUG=650132 ========== to ========== Add UMA histogram for popup actions on Android. This CL adds metrics for the pop-up blocked infobar on Android. BUG=650132 ==========
On 2017/01/31 18:22:14, dominickn wrote: > lgtm > > Please remove the second sentence from the subject (and references to iOS), so > it's just > > "Add UMA histogram for popup actions on Android" > > Description: > > "Add UMA histogram for popup actions on Android > > This CL adds metrics for the pop-up blocked infobar on Android." Done, thanks Dom. Hi thakis, need owner review for files: chrome/browser/content_settings/chrome_content_settings_utils.h chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc Hi jwd, need owner review for file: tools/metrics/histograms/histograms.xml Thanks, all!
charleszhao@chromium.org changed reviewers: + jwd@chromium.org, thakis@chromium.org
Thanks!
On 2017/02/01 02:31:06, charleszhao wrote: > Thanks! Hi thakis, need owner review for files: chrome/browser/content_settings/chrome_content_settings_utils.h chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc Hi jwd, need owner review for file: tools/metrics/histograms/histograms.xml
histograms LGTM
https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... File chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc (right): https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc:54: content_settings::POPUPS_ACTION_DISPLAYED_INFOBAR_ON_MOBILE); This looks like general code, why is the enum called _ON_MOBILE? https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc:123: content_settings::POPUPS_ACTION_CLICKED_ALWAYS_SHOW_ON_MOBILE); same question
Thanks, Nico https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... File chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc (right): https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc:54: content_settings::POPUPS_ACTION_DISPLAYED_INFOBAR_ON_MOBILE); On 2017/02/02 22:09:49, Nico wrote: > This looks like general code, why is the enum called _ON_MOBILE? These two enum POPUPS_ACTION_DISPLAYED_INFOBAR_ON_MOBILE, POPUPS_ACTION_CLICKED_ALWAYS_SHOW_ON_MOBILE are only meaningful on Android and IOS, And on desktop, the corespondent one is: POPUPS_ACTION_DISPLAYED_BLOCKED_ICON_IN_OMNIBOX, POPUPS_ACTION_SELECTED_ALWAYS_ALLOW_POPUPS_FROM, That's the reason.
Thanks Nico https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... File chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc (right): https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc:123: content_settings::POPUPS_ACTION_CLICKED_ALWAYS_SHOW_ON_MOBILE); On 2017/02/02 22:09:49, Nico wrote: > same question Done.
On 2017/02/05 23:03:13, charleszhao wrote: > Thanks Nico > > https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... > File > chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc > (right): > > https://codereview.chromium.org/2662163002/diff/1/chrome/browser/ui/android/c... > chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc:123: > content_settings::POPUPS_ACTION_CLICKED_ALWAYS_SHOW_ON_MOBILE); > On 2017/02/02 22:09:49, Nico wrote: > > same question > > Done. Hi Nico, the function RecordPopupsAction is a general function. but the enum are distinguished on Desktop and Mobile as: These two enum POPUPS_ACTION_DISPLAYED_INFOBAR_ON_MOBILE, POPUPS_ACTION_CLICKED_ALWAYS_SHOW_ON_MOBILE are only meaningful on Android and IOS, And on desktop, the corespondent one is: POPUPS_ACTION_DISPLAYED_BLOCKED_ICON_IN_OMNIBOX, POPUPS_ACTION_SELECTED_ALWAYS_ALLOW_POPUPS_FROM, That's the reason.
charleszhao@chromium.org changed reviewers: + jochen@chromium.org - thakis@chromium.org
Hi jochen need owner review on these two files: chrome/browser/content_settings/chrome_content_settings_utils.h chrome/browser/ui/android/content_settings/popup_blocked_infobar_delegate.cc Thanks!
lgtm
The CQ bit was checked by charleszhao@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 1, "attempt_start_ts": 1489618788066630, "parent_rev": "6020d58dc2052d5bfc6ec36f8eacf4677bda6954", "commit_rev": "0ab3b67a846c21a42996cf6d0e19a331b31dfacb"}
Message was sent while issue was closed.
Description was changed from ========== Add UMA histogram for popup actions on Android. This CL adds metrics for the pop-up blocked infobar on Android. BUG=650132 ========== to ========== Add UMA histogram for popup actions on Android. This CL adds metrics for the pop-up blocked infobar on Android. BUG=650132 Review-Url: https://codereview.chromium.org/2662163002 Cr-Commit-Position: refs/heads/master@{#457285} Committed: https://chromium.googlesource.com/chromium/src/+/0ab3b67a846c21a42996cf6d0e19... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/0ab3b67a846c21a42996cf6d0e19... |