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

Issue 399773002: Experience sampling insturmentation for SSL and Safe Browsing interstitials (Closed)

Created:
6 years, 5 months ago by Chris Thompson
Modified:
6 years, 4 months ago
Reviewers:
palmer, felt, noelutz
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@sampling-api
Project:
chromium
Visibility:
Public.

Description

Experience sampling instrumentation for SSL and Safe Browsing interstitials This CL instruments the interstitial pages to generate the experience sampling API onDecision event. BUG=384635

Patch Set 1 #

Patch Set 2 : Add blocking/nonblocking and NetError type string to event name #

Total comments: 8

Patch Set 3 : Rebase-update #

Patch Set 4 : Use constant strings, switch statements; fix comments #

Patch Set 5 : Instrument expanding of details and learn more links #

Patch Set 6 : rebase-update #

Total comments: 2

Patch Set 7 : s/SamplingEvent/ExperienceSamplingEvent/g #

Patch Set 8 : Remove stray blank line #

Total comments: 4

Patch Set 9 : Fix typos ("interstitial" is hard to type...) #

Patch Set 10 : Rebase-update and reparent to trunk #

Patch Set 11 : Use setters instead of raw assignment to ExpSamplingEvent members #

Patch Set 12 : Restrict instrumentation to only platforms with ENABLE_EXTENSIONS #

Patch Set 13 : rebase-update #

Patch Set 14 : Added if defined to a "using" declaration #

Patch Set 15 : Add ifdef around constants in SB blocking page #

Patch Set 16 : Switch interstitial instrumentation to use ExperienceSampling::Create() because the interstitials a… #

Patch Set 17 : Rebase-update #

Patch Set 18 : Back to main constructor so we can track the right BrowserContext #

Patch Set 19 : Rebase-update #

Patch Set 20 : Check for null BrowserContext for SB unit tests #

Patch Set 21 : Clean up experience sampling header file changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -4 lines) Patch
M chrome/browser/extensions/api/experience_sampling_private/experience_sampling.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 8 chunks +66 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +49 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Chris Thompson
felt@ could you PTAL?
6 years, 5 months ago (2014-07-16 22:49:44 UTC) #1
felt
preliminary review, I know you're still planning to make a few more changes to this ...
6 years, 5 months ago (2014-07-18 21:13:59 UTC) #2
Chris Thompson
https://codereview.chromium.org/399773002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc File chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (right): https://codereview.chromium.org/399773002/diff/20001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc#newcode319 chrome/browser/safe_browsing/safe_browsing_blocking_page.cc:319: event_name = "malware_and_phishing_interstitial"; On 2014/07/18 21:13:59, felt wrote: > ...
6 years, 5 months ago (2014-07-23 22:45:38 UTC) #3
felt
are there other changes i should wait for, or should i do a full review ...
6 years, 5 months ago (2014-07-23 22:49:03 UTC) #4
Chris Thompson
On 2014/07/23 22:49:03, felt wrote: > are there other changes i should wait for, or ...
6 years, 5 months ago (2014-07-23 23:05:11 UTC) #5
Chris Thompson
On 2014/07/23 23:05:11, Chris Thompson wrote: > On 2014/07/23 22:49:03, felt wrote: > > are ...
6 years, 5 months ago (2014-07-23 23:33:50 UTC) #6
felt
lgtm, please send to owners for reviews https://codereview.chromium.org/399773002/diff/100001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/399773002/diff/100001/chrome/browser/ssl/ssl_blocking_page.cc#newcode765 chrome/browser/ssl/ssl_blocking_page.cc:765: nit: don't ...
6 years, 5 months ago (2014-07-25 01:05:51 UTC) #7
Chris Thompson
https://codereview.chromium.org/399773002/diff/100001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/399773002/diff/100001/chrome/browser/ssl/ssl_blocking_page.cc#newcode765 chrome/browser/ssl/ssl_blocking_page.cc:765: On 2014/07/25 01:05:51, felt wrote: > nit: don't need ...
6 years, 5 months ago (2014-07-25 01:22:00 UTC) #8
Chris Thompson
palmer@ and noelutz@, could you give OWNERS review for the SSL and SafeBrowsing blocking pages? ...
6 years, 5 months ago (2014-07-25 16:34:04 UTC) #9
palmer
LGTM after you fix the typos. You also have a typo in the commit message. ...
6 years, 5 months ago (2014-07-25 18:05:00 UTC) #10
Chris Thompson
Apparently my hands don't know how to type "interstitial". CL description also fixed :-) https://codereview.chromium.org/399773002/diff/140001/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc ...
6 years, 5 months ago (2014-07-25 18:19:47 UTC) #11
noelutz
The CQ bit was checked by noelutz@google.com
6 years, 5 months ago (2014-07-25 19:58:13 UTC) #12
noelutz
The CQ bit was unchecked by noelutz@google.com
6 years, 5 months ago (2014-07-25 19:58:15 UTC) #13
noelutz
lgtm
6 years, 5 months ago (2014-07-25 19:58:19 UTC) #14
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 4 months ago (2014-07-30 21:04:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/399773002/200001
6 years, 4 months ago (2014-07-30 21:06:41 UTC) #16
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 4 months ago (2014-07-30 23:41:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/399773002/280001
6 years, 4 months ago (2014-07-30 23:44:17 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-31 07:50:05 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-31 08:25:52 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/1725)
6 years, 4 months ago (2014-07-31 08:25:53 UTC) #21
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 4 months ago (2014-08-07 17:21:05 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/399773002/400001
6 years, 4 months ago (2014-08-07 17:22:54 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-07 18:49:36 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-07 19:10:52 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_triggered_tests/builds/3398)
6 years, 4 months ago (2014-08-07 19:10:54 UTC) #26
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 4 months ago (2014-08-07 19:18:35 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/399773002/400001
6 years, 4 months ago (2014-08-07 19:22:05 UTC) #28
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 00:41:33 UTC) #29
Message was sent while issue was closed.
Change committed as 288177

Powered by Google App Engine
This is Rietveld 408576698