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

Issue 659573003: Log mixed script shield events. (Closed)

Created:
6 years, 2 months ago by lgarron
Modified:
6 years, 1 month ago
CC:
chromium-reviews, markusheintz_, asvitkine+watch_chromium.org, meacer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Log mixed script shield events. Also removes the MixedScript_LoadAnyway_Bubble count (unowned, no longer in histograms.xml). BUG=413057 Committed: https://crrev.com/79ae9aefbde690aac06d7d37d8ec1d3e43389574 Cr-Commit-Position: refs/heads/master@{#302176}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Refactor logging into new function. #

Total comments: 1

Patch Set 3 : Give the MixedScriptAction enum a name. #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M chrome/browser/content_settings/tab_specific_content_settings.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/tab_specific_content_settings.cc View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
lgarron
6 years, 2 months ago (2014-10-14 23:59:54 UTC) #3
felt
lgtm!
6 years, 2 months ago (2014-10-16 00:49:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659573003/20001
6 years, 2 months ago (2014-10-16 01:04:26 UTC) #6
lgarron
Would all 'yall mind reviewing files as follows, please? :-D jochen: - chrome/browser/content_settings/tab_specific_content_settings.cc - chrome/browser/content_settings/tab_specific_content_settings.h ...
6 years, 2 months ago (2014-10-16 01:19:51 UTC) #10
Ilya Sherman
https://codereview.chromium.org/659573003/diff/20001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/659573003/diff/20001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode332 chrome/browser/content_settings/tab_specific_content_settings.cc:332: MIXEDSCRIPT_CONTENT_NUM_EVENTS); Please define a wrapper function that emits to ...
6 years, 2 months ago (2014-10-16 03:24:51 UTC) #11
sky
chrome/browser/ui/browser_content_setting_bubble_model_delegate.cc LGTM
6 years, 2 months ago (2014-10-16 16:05:31 UTC) #12
lgarron
Ilya asked me to refactor the logging. sky, would you mind sanity checking the new ...
6 years, 2 months ago (2014-10-16 22:00:54 UTC) #13
Ilya Sherman
LGTM % a nit. Thanks :) https://codereview.chromium.org/659573003/diff/60001/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/659573003/diff/60001/chrome/browser/content_settings/tab_specific_content_settings.h#newcode67 chrome/browser/content_settings/tab_specific_content_settings.h:67: static void RecordMixedScriptAction(int ...
6 years, 2 months ago (2014-10-16 22:05:13 UTC) #15
lgarron
Now with 100% more enum naming.
6 years, 2 months ago (2014-10-16 22:15:05 UTC) #16
Ilya Sherman
https://codereview.chromium.org/659573003/diff/40002/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/659573003/diff/40002/chrome/browser/content_settings/tab_specific_content_settings.h#newcode64 chrome/browser/content_settings/tab_specific_content_settings.h:64: MIXEDSCRIPT_NUM_ACTIONS FYI, the typical style is, if the enum ...
6 years, 2 months ago (2014-10-16 22:20:36 UTC) #17
lgarron
https://codereview.chromium.org/659573003/diff/40002/chrome/browser/content_settings/tab_specific_content_settings.h File chrome/browser/content_settings/tab_specific_content_settings.h (right): https://codereview.chromium.org/659573003/diff/40002/chrome/browser/content_settings/tab_specific_content_settings.h#newcode64 chrome/browser/content_settings/tab_specific_content_settings.h:64: MIXEDSCRIPT_NUM_ACTIONS On 2014/10/16 22:20:35, Ilya Sherman wrote: > FYI, ...
6 years, 2 months ago (2014-10-16 22:24:30 UTC) #18
lgarron
6 years, 2 months ago (2014-10-16 22:35:46 UTC) #19
Ilya Sherman
LGTM, no more nits. Thanks, Lucas :)
6 years, 2 months ago (2014-10-16 22:43:56 UTC) #20
sky
LGTM https://codereview.chromium.org/659573003/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc File chrome/browser/content_settings/tab_specific_content_settings.cc (right): https://codereview.chromium.org/659573003/diff/80001/chrome/browser/content_settings/tab_specific_content_settings.cc#newcode337 chrome/browser/content_settings/tab_specific_content_settings.cc:337: if (type == CONTENT_SETTINGS_TYPE_MIXEDSCRIPT) { nit: no {} ...
6 years, 2 months ago (2014-10-16 23:39:44 UTC) #21
lgarron
Updated to assuage sky's style concerns.
6 years, 2 months ago (2014-10-17 02:32:27 UTC) #23
lgarron
jochen: ping
6 years, 2 months ago (2014-10-22 00:03:52 UTC) #24
lgarron
jochen is OOO now; bauerb: Would you mind reviewing the content_settings files? - chrome/browser/content_settings/tab_specific_content_settings.cc - ...
6 years, 1 month ago (2014-10-29 22:20:55 UTC) #26
Bernhard Bauer
lgtm
6 years, 1 month ago (2014-10-30 13:36:20 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659573003/140001
6 years, 1 month ago (2014-10-30 21:38:16 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:140001)
6 years, 1 month ago (2014-10-30 22:40:25 UTC) #30
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 22:41:55 UTC) #31
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/79ae9aefbde690aac06d7d37d8ec1d3e43389574
Cr-Commit-Position: refs/heads/master@{#302176}

Powered by Google App Engine
This is Rietveld 408576698