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

Issue 450833002: Add additional UMA stats for remembering certificate decisions. (Closed)

Created:
6 years, 4 months ago by jww
Modified:
6 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add additional UMA stats for remembering certificate decisions. In the new experiment for remembering certificate decisions by users, decisions expire after a certain amount of time. This CL adds measures to explicitly measure how ofter users change their mind after an expiration of their prior decision. BUG=262615 R=felt@chromium.org TBR=gunsch@chromium.org,torne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289787

Patch Set 1 #

Patch Set 2 : Update content_browser_client subclasses #

Total comments: 10

Patch Set 3 : Fixes from felt comments #

Total comments: 5

Patch Set 4 : Address felt comments #

Total comments: 2

Patch Set 5 : felt nit #

Total comments: 11

Patch Set 6 : Fixes from sky #

Total comments: 1

Patch Set 7 : Rebase on ToT (including const fix) #

Patch Set 8 : Rebase on ToT #

Patch Set 9 : Fix Windows compile bug #

Patch Set 10 : Another Windows compile bug #

Patch Set 11 : Rebase on ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+421 lines, -164 lines) Patch
M android_webview/browser/aw_content_browser_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ssl/chrome_ssl_host_state_delegate.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/ssl/chrome_ssl_host_state_delegate.cc View 1 2 3 4 5 6 7 5 chunks +23 lines, -8 lines 0 comments Download
M chrome/browser/ssl/chrome_ssl_host_state_delegate_test.cc View 1 2 3 4 5 6 7 22 chunks +193 lines, -88 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 1 2 3 4 5 6 4 chunks +21 lines, -13 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +65 lines, -25 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 2 3 4 5 6 1 chunk +10 lines, -3 lines 0 comments Download
M chromecast/shell/browser/cast_content_browser_client.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chromecast/shell/browser/cast_content_browser_client.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/ssl/ssl_policy.h View 1 2 3 4 5 1 chunk +14 lines, -7 lines 0 comments Download
M content/browser/ssl/ssl_policy.cc View 1 2 3 4 5 6 7 8 6 chunks +24 lines, -6 lines 0 comments Download
M content/browser/ssl/ssl_policy_backend.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/ssl/ssl_policy_backend.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/ssl_host_state_delegate.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
jww
felt@, can you take a look at this as an initial run through? While we ...
6 years, 4 months ago (2014-08-07 23:48:56 UTC) #1
felt
https://codereview.chromium.org/450833002/diff/20001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/450833002/diff/20001/chrome/browser/ssl/ssl_blocking_page.cc#newcode105 chrome/browser/ssl/ssl_blocking_page.cc:105: enum SSLIsExpiredAndDecision { Add a note warning people that ...
6 years, 4 months ago (2014-08-08 00:17:06 UTC) #2
felt
https://codereview.chromium.org/450833002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/450833002/diff/20001/tools/metrics/histograms/histograms.xml#newcode9765 tools/metrics/histograms/histograms.xml:9765: + previous decision that had expired or not. this ...
6 years, 4 months ago (2014-08-08 00:18:01 UTC) #3
jww
felt, please take another look and let me know if it looks okay. Feel free ...
6 years, 4 months ago (2014-08-08 15:55:45 UTC) #4
felt
https://codereview.chromium.org/450833002/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/450833002/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc#newcode144 chrome/browser/ssl/ssl_blocking_page.cc:144: UMA_HISTOGRAM_ENUMERATION(histogram, Although this might compile, I don't think it ...
6 years, 4 months ago (2014-08-08 17:55:34 UTC) #5
jww
https://codereview.chromium.org/450833002/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/450833002/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc#newcode144 chrome/browser/ssl/ssl_blocking_page.cc:144: UMA_HISTOGRAM_ENUMERATION(histogram, On 2014/08/08 17:55:33, felt wrote: > Although this ...
6 years, 4 months ago (2014-08-12 04:51:03 UTC) #6
felt
https://codereview.chromium.org/450833002/diff/40001/content/public/browser/ssl_host_state_delegate.h File content/public/browser/ssl_host_state_delegate.h (right): https://codereview.chromium.org/450833002/diff/40001/content/public/browser/ssl_host_state_delegate.h#newcode39 content/public/browser/ssl_host_state_delegate.h:39: bool* expired_previous_decision) = 0; On 2014/08/12 04:51:02, jww wrote: ...
6 years, 4 months ago (2014-08-12 04:54:33 UTC) #7
felt
lgtm, onwards https://codereview.chromium.org/450833002/diff/60001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/450833002/diff/60001/chrome/browser/ssl/ssl_blocking_page.cc#newcode133 chrome/browser/ssl/ssl_blocking_page.cc:133: if (overridable) style nit: I would expect ...
6 years, 4 months ago (2014-08-12 04:56:13 UTC) #8
jww
jar@, can you look at tools/metrics? sky@, can you owner review chrome and content? https://codereview.chromium.org/450833002/diff/60001/chrome/browser/ssl/ssl_blocking_page.cc ...
6 years, 4 months ago (2014-08-12 13:15:52 UTC) #9
sky
I'm not an owner of content/public. https://codereview.chromium.org/450833002/diff/80001/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc File chrome/browser/ssl/chrome_ssl_host_state_delegate.cc (right): https://codereview.chromium.org/450833002/diff/80001/chrome/browser/ssl/chrome_ssl_host_state_delegate.cc#newcode191 chrome/browser/ssl/chrome_ssl_host_state_delegate.cc:191: expired = true; ...
6 years, 4 months ago (2014-08-12 16:47:32 UTC) #10
felt
https://codereview.chromium.org/450833002/diff/80001/chrome/browser/ssl/ssl_blocking_page.h File chrome/browser/ssl/ssl_blocking_page.h (right): https://codereview.chromium.org/450833002/diff/80001/chrome/browser/ssl/ssl_blocking_page.h#newcode63 chrome/browser/ssl/ssl_blocking_page.h:63: bool overridable, On 2014/08/12 16:47:31, sky wrote: > A ...
6 years, 4 months ago (2014-08-12 16:50:29 UTC) #11
sky
On Tue, Aug 12, 2014 at 9:50 AM, <felt@chromium.org> wrote: > > https://codereview.chromium.org/450833002/diff/80001/chrome/browser/ssl/ssl_blocking_page.h > File ...
6 years, 4 months ago (2014-08-12 17:16:51 UTC) #12
jww
jam@, can you check out the changes to content/public? When the ssl_host_state.h changes are merged ...
6 years, 4 months ago (2014-08-12 19:23:42 UTC) #13
felt
https://codereview.chromium.org/450833002/diff/100001/chrome/browser/ssl/ssl_blocking_page.h File chrome/browser/ssl/ssl_blocking_page.h (right): https://codereview.chromium.org/450833002/diff/100001/chrome/browser/ssl/ssl_blocking_page.h#newcode110 chrome/browser/ssl/ssl_blocking_page.h:110: const bool overridable_; overridable_ can't be const, its value ...
6 years, 4 months ago (2014-08-12 19:37:35 UTC) #14
jww
On 2014/08/12 19:37:35, felt wrote: > https://codereview.chromium.org/450833002/diff/100001/chrome/browser/ssl/ssl_blocking_page.h > File chrome/browser/ssl/ssl_blocking_page.h (right): > > https://codereview.chromium.org/450833002/diff/100001/chrome/browser/ssl/ssl_blocking_page.h#newcode110 > ...
6 years, 4 months ago (2014-08-12 20:30:43 UTC) #15
felt
On 2014/08/12 20:30:43, jww wrote: > On 2014/08/12 19:37:35, felt wrote: > > > https://codereview.chromium.org/450833002/diff/100001/chrome/browser/ssl/ssl_blocking_page.h ...
6 years, 4 months ago (2014-08-12 21:20:35 UTC) #16
jar (doing other things)
Patch set 7, histograms.xml LGTM
6 years, 4 months ago (2014-08-12 21:21:50 UTC) #17
jam
lgtm
6 years, 4 months ago (2014-08-13 06:43:58 UTC) #18
sky
LGTM
6 years, 4 months ago (2014-08-13 20:02:27 UTC) #19
jww
The CQ bit was checked by jww@chromium.org
6 years, 4 months ago (2014-08-13 23:55:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/450833002/140001
6 years, 4 months ago (2014-08-13 23:58:44 UTC) #21
jww
The CQ bit was checked by jww@chromium.org
6 years, 4 months ago (2014-08-14 01:10:18 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/450833002/160001
6 years, 4 months ago (2014-08-14 01:16:08 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-14 07:21:20 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 07:33:18 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/4046) win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/6835)
6 years, 4 months ago (2014-08-14 07:33:19 UTC) #26
jww
The CQ bit was checked by jww@chromium.org
6 years, 4 months ago (2014-08-14 13:23:08 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/450833002/180001
6 years, 4 months ago (2014-08-14 13:25:16 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-14 17:39:43 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-14 17:52:27 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/5977) android_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg/builds/6892)
6 years, 4 months ago (2014-08-14 17:52:28 UTC) #31
jww
The CQ bit was checked by jww@chromium.org
6 years, 4 months ago (2014-08-14 21:46:26 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/450833002/200001
6 years, 4 months ago (2014-08-14 21:48:23 UTC) #33
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 04:49:17 UTC) #34
Message was sent while issue was closed.
Committed patchset #11 (200001) as 289787

Powered by Google App Engine
This is Rietveld 408576698