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

Issue 952463002: Add UMA to track permission changes from the content settings menu (Closed)

Created:
5 years, 10 months ago by Miguel Garcia
Modified:
5 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to track permission changes from the content settings menu Update the descriptions for the equivalent OriginSettings UMA. TBR=jhawkins BUG=433774 Committed: https://crrev.com/1fc158a1ecea9f282362d9958a150303b3a0dd94 Cr-Commit-Position: refs/heads/master@{#318223}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 15

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -6 lines) Patch
M chrome/browser/android/preferences/website_preference_bridge.cc View 1 2 3 4 5 5 chunks +12 lines, -3 lines 0 comments Download
A chrome/browser/content_settings/web_site_settings_uma_util.h View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/content_settings/web_site_settings_uma_util.cc View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +42 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Miguel Garcia
Can you have an initial look before I get owners to approve it? Thanks!
5 years, 10 months ago (2015-02-23 12:25:54 UTC) #2
Finnur
https://codereview.chromium.org/952463002/diff/1/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/952463002/diff/1/chrome/browser/android/preferences/website_preference_bridge.cc#newcode59 chrome/browser/android/preferences/website_preference_bridge.cc:59: UMA_HISTOGRAM_ENUMERATION("WebsiteSettings.Menu.PermissionChanged.Ask", 'Ask' is, as I recall, not something we ...
5 years, 10 months ago (2015-02-23 14:15:27 UTC) #3
Miguel Garcia
Thanks for the quick review! https://codereview.chromium.org/952463002/diff/1/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/952463002/diff/1/chrome/browser/android/preferences/website_preference_bridge.cc#newcode59 chrome/browser/android/preferences/website_preference_bridge.cc:59: UMA_HISTOGRAM_ENUMERATION("WebsiteSettings.Menu.PermissionChanged.Ask", On 2015/02/23 14:15:27, ...
5 years, 10 months ago (2015-02-23 14:35:21 UTC) #4
Finnur
LGTM, one nit. https://codereview.chromium.org/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode366 chrome/browser/android/preferences/website_preference_bridge.cc:366: value ? CONTENT_SETTING_ALLOW : CONTENT_SETTING_BLOCK); nit: ...
5 years, 10 months ago (2015-02-23 14:47:19 UTC) #5
Miguel Garcia
Adding owners now isherman: please review histograms.xml jhawkins: please review content_settings_handler.cc Thanks!
5 years, 10 months ago (2015-02-23 14:57:41 UTC) #7
Miguel Garcia
On 2015/02/23 14:57:41, Miguel Garcia wrote: > Adding owners now > > isherman: please review ...
5 years, 10 months ago (2015-02-23 20:44:00 UTC) #8
Ilya Sherman
https://codereview.chromium.org/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode13 chrome/browser/android/preferences/website_preference_bridge.cc:13: #include "base/metrics/histogram.h" nit: Please include histogram_macros instead. https://codereview.chromium.org/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode39 chrome/browser/android/preferences/website_preference_bridge.cc:39: ...
5 years, 10 months ago (2015-02-23 22:55:20 UTC) #9
Miguel Garcia
Thanks a lot for the quick review Ilya https://chromiumcodereview.appspot.com/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://chromiumcodereview.appspot.com/952463002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode13 chrome/browser/android/preferences/website_preference_bridge.cc:13: #include ...
5 years, 10 months ago (2015-02-24 13:25:24 UTC) #10
Ilya Sherman
Thanks for the explanation. Histograms LGTM, though I'd still recommend avoiding the code duplication, as ...
5 years, 10 months ago (2015-02-24 19:13:40 UTC) #11
Miguel Garcia
I went ahead with your suggestion, adding bauerb to review the new files. On 2015/02/24 ...
5 years, 10 months ago (2015-02-25 18:59:32 UTC) #12
Miguel Garcia
+bauerb for content_settings OWNERS
5 years, 10 months ago (2015-02-25 19:00:10 UTC) #14
Bernhard Bauer
content_settings/ LGTM
5 years, 10 months ago (2015-02-26 11:23:48 UTC) #15
Miguel Garcia
On 2015/02/26 11:23:48, Bernhard (back on Feb 26) wrote: > content_settings/ LGTM Thanks!
5 years, 10 months ago (2015-02-26 11:24:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/952463002/100001
5 years, 10 months ago (2015-02-26 11:26:14 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-26 12:25:01 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 12:25:57 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1fc158a1ecea9f282362d9958a150303b3a0dd94
Cr-Commit-Position: refs/heads/master@{#318223}

Powered by Google App Engine
This is Rietveld 408576698