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

Issue 1148773005: Add a RAPPOR metric to track where users click to allow mixed scripts. (Closed)

Created:
5 years, 7 months ago by lgarron
Modified:
5 years, 6 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a RAPPOR metric to track where users click to allow mixed scripts. As a side effect, move mixed script shield RAPPOR stats into a new content settings util function, RecordMixedScriptActionWithRAPPOR(). BUG=490462 Committed: https://crrev.com/6be9a489fa3ec17a0173e88027b7feaf53ff8caa Cr-Commit-Position: refs/heads/master@{#334344}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Move mixed script shield RAPPOR stats into a new RecordMixedScriptActionWithRAPPOR() function. #

Total comments: 2

Patch Set 3 : Don't call RecordMixedScriptAction() from RecordMixedScriptActionWithRAPPOR(). #

Total comments: 1

Patch Set 4 : Forward-declare GURL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -15 lines) Patch
M chrome/browser/content_settings/chrome_content_settings_utils.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/chrome_content_settings_utils.cc View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 chunks +3 lines, -13 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
lgarron
A better place to track this might be where we measure SSL.InsecureContent in ContentSettingsObserver::allowRunningInsecureContent() [1], ...
5 years, 7 months ago (2015-05-22 03:10:48 UTC) #3
felt
Why not do this inside RecordMixedScriptAction? https://codereview.chromium.org/1148773005/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc File chrome/browser/ui/content_settings/content_setting_bubble_model.cc (right): https://codereview.chromium.org/1148773005/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1009 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1009: // During an ...
5 years, 7 months ago (2015-05-22 20:59:34 UTC) #5
lgarron
On 2015/05/22 at 20:59:34, felt wrote: > Why not do this inside RecordMixedScriptAction? > > ...
5 years, 7 months ago (2015-05-22 21:04:22 UTC) #6
felt
On 2015/05/22 21:04:22, lgarron wrote: > On 2015/05/22 at 20:59:34, felt wrote: > > Why ...
5 years, 7 months ago (2015-05-22 21:14:25 UTC) #7
lgarron
On 2015/05/22 at 21:14:25, felt wrote: > On 2015/05/22 21:04:22, lgarron wrote: > > On ...
5 years, 7 months ago (2015-05-26 19:09:36 UTC) #8
lgarron
felt@: post-I/O ping. https://codereview.chromium.org/1148773005/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc File chrome/browser/ui/content_settings/content_setting_bubble_model.cc (right): https://codereview.chromium.org/1148773005/diff/40001/chrome/browser/ui/content_settings/content_setting_bubble_model.cc#newcode1009 chrome/browser/ui/content_settings/content_setting_bubble_model.cc:1009: // During an interstitial, the shield ...
5 years, 6 months ago (2015-06-03 03:19:55 UTC) #9
lgarron
felt@: Pretty ping with a cherry on top. :-D (Assuming you're fine with a separate ...
5 years, 6 months ago (2015-06-11 23:06:03 UTC) #10
felt
lgtm % nit https://codereview.chromium.org/1148773005/diff/60001/chrome/browser/content_settings/chrome_content_settings_utils.cc File chrome/browser/content_settings/chrome_content_settings_utils.cc (right): https://codereview.chromium.org/1148773005/diff/60001/chrome/browser/content_settings/chrome_content_settings_utils.cc#newcode20 chrome/browser/content_settings/chrome_content_settings_utils.cc:20: RecordMixedScriptAction(action); A second method seems fine, ...
5 years, 6 months ago (2015-06-12 00:18:25 UTC) #11
felt
And very sorry for the delay. >< My bad.
5 years, 6 months ago (2015-06-12 00:18:40 UTC) #12
lgarron
https://codereview.chromium.org/1148773005/diff/60001/chrome/browser/content_settings/chrome_content_settings_utils.cc File chrome/browser/content_settings/chrome_content_settings_utils.cc (right): https://codereview.chromium.org/1148773005/diff/60001/chrome/browser/content_settings/chrome_content_settings_utils.cc#newcode20 chrome/browser/content_settings/chrome_content_settings_utils.cc:20: RecordMixedScriptAction(action); On 2015/06/12 at 00:18:25, felt wrote: > A ...
5 years, 6 months ago (2015-06-12 00:30:18 UTC) #15
lgarron
On 2015/06/12 at 00:18:40, felt wrote: > And very sorry for the delay. >< My ...
5 years, 6 months ago (2015-06-12 00:30:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148773005/80001
5 years, 6 months ago (2015-06-12 00:31:20 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/70398)
5 years, 6 months ago (2015-06-12 00:39:30 UTC) #19
lgarron
bauerb: Would you mind reviewing //chrome/browser/content_settings (3 files)? holte: Would you mind reviewing rappor.xml? Thanks, ...
5 years, 6 months ago (2015-06-12 00:45:14 UTC) #21
Steven Holte
lgtm
5 years, 6 months ago (2015-06-13 01:00:13 UTC) #22
Bernhard Bauer
LGTM w/ a nit: https://codereview.chromium.org/1148773005/diff/80001/chrome/browser/content_settings/chrome_content_settings_utils.h File chrome/browser/content_settings/chrome_content_settings_utils.h (right): https://codereview.chromium.org/1148773005/diff/80001/chrome/browser/content_settings/chrome_content_settings_utils.h#newcode8 chrome/browser/content_settings/chrome_content_settings_utils.h:8: #include "url/gurl.h" You can forward-declare ...
5 years, 6 months ago (2015-06-13 10:25:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148773005/120001
5 years, 6 months ago (2015-06-13 22:22:13 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:120001)
5 years, 6 months ago (2015-06-14 00:00:25 UTC) #28
commit-bot: I haz the power
5 years, 6 months ago (2015-06-14 00:01:28 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6be9a489fa3ec17a0173e88027b7feaf53ff8caa
Cr-Commit-Position: refs/heads/master@{#334344}

Powered by Google App Engine
This is Rietveld 408576698