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

Issue 2901563003: PDF: Add UMA to track embedded PDF triggered drive-by downloads. (Closed)

Created:
3 years, 7 months ago by tommycli
Modified:
3 years, 6 months ago
CC:
chromium-reviews, jam, David Trainor- moved to gerrit, darin-cc_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PDF: Add UMA to track embedded PDF triggered drive-by downloads. Adds an entry to an existing histogram to track drive-by downloads triggered when the user views a page with an embedded PDF but has no PDF plugin (or it's disabled). BUG=714917 Review-Url: https://codereview.chromium.org/2901563003 Cr-Commit-Position: refs/heads/master@{#475220} Committed: https://chromium.googlesource.com/chromium/src/+/c173ef62237c56354fd42882ea0999cc5564ef1c

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address nits #

Patch Set 3 : fix #

Patch Set 4 : fix #

Patch Set 5 : remove stray comment #

Total comments: 8

Patch Set 6 : fix #

Total comments: 3

Patch Set 7 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -23 lines) Patch
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 3 4 5 6 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/pdf_uma.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/common/pdf_uma.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma.h View 2 chunks +0 lines, -11 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 46 (24 generated)
tommycli
isherman: metrics PTAL, thanks!
3 years, 7 months ago (2017-05-22 22:37:48 UTC) #4
Ilya Sherman
On 2017/05/22 22:37:48, tommycli wrote: > isherman: metrics PTAL, thanks! What did you want me ...
3 years, 7 months ago (2017-05-22 22:54:08 UTC) #6
tommycli
On 2017/05/22 22:54:08, Ilya Sherman wrote: > On 2017/05/22 22:37:48, tommycli wrote: > > isherman: ...
3 years, 7 months ago (2017-05-22 22:56:42 UTC) #7
Ilya Sherman
On 2017/05/22 22:56:42, tommycli wrote: > On 2017/05/22 22:54:08, Ilya Sherman wrote: > > On ...
3 years, 7 months ago (2017-05-22 23:00:42 UTC) #8
tommycli
thanks! https://codereview.chromium.org/2901563003/diff/1/chrome/common/pdf_uma.h File chrome/common/pdf_uma.h (right): https://codereview.chromium.org/2901563003/diff/1/chrome/common/pdf_uma.h#newcode9 chrome/common/pdf_uma.h:9: #include "url/gurl.h" On 2017/05/22 23:00:42, Ilya Sherman wrote: ...
3 years, 7 months ago (2017-05-23 00:32:00 UTC) #9
tommycli
asanka: PTAL to make sure I'm not abusing the downloads code too much. Thanks!
3 years, 7 months ago (2017-05-23 00:32:31 UTC) #11
asanka
On 2017/05/23 00:32:31, tommycli wrote: > asanka: PTAL to make sure I'm not abusing the ...
3 years, 7 months ago (2017-05-23 00:53:04 UTC) #12
tommycli
On 2017/05/23 00:53:04, asanka wrote: > On 2017/05/23 00:32:31, tommycli wrote: > > asanka: PTAL ...
3 years, 7 months ago (2017-05-23 16:50:21 UTC) #14
tommycli
PTAL chrome/ review, thanks!
3 years, 7 months ago (2017-05-24 21:18:32 UTC) #19
Lei Zhang
https://codereview.chromium.org/2901563003/diff/80001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/2901563003/diff/80001/chrome/common/BUILD.gn#newcode472 chrome/common/BUILD.gn:472: if (enable_pdf) { You are using BUILDFLAG(ENABLE_PLUGINS) in the ...
3 years, 7 months ago (2017-05-24 22:39:21 UTC) #20
asanka
On 2017/05/23 16:50:21, tommycli wrote: > On 2017/05/23 00:53:04, asanka wrote: > > On 2017/05/23 ...
3 years, 7 months ago (2017-05-25 00:47:47 UTC) #21
tommycli
On 2017/05/25 00:47:47, asanka wrote: > On 2017/05/23 16:50:21, tommycli wrote: > > On 2017/05/23 ...
3 years, 7 months ago (2017-05-25 17:31:26 UTC) #22
tommycli
thestig: Thanks! addressd your comments below. https://codereview.chromium.org/2901563003/diff/80001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/2901563003/diff/80001/chrome/common/BUILD.gn#newcode472 chrome/common/BUILD.gn:472: if (enable_pdf) { ...
3 years, 7 months ago (2017-05-25 18:16:38 UTC) #23
Lei Zhang
https://codereview.chromium.org/2901563003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2901563003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc#newcode149 chrome/renderer/chrome_content_renderer_client.cc:149: #include "chrome/common/pdf_uma.h" On 2017/05/25 18:16:38, tommycli wrote: > I'm ...
3 years, 7 months ago (2017-05-25 21:11:08 UTC) #24
Lei Zhang
lgtm
3 years, 7 months ago (2017-05-25 21:11:49 UTC) #25
tommycli
thestig: thank you! https://codereview.chromium.org/2901563003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2901563003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc#newcode149 chrome/renderer/chrome_content_renderer_client.cc:149: #include "chrome/common/pdf_uma.h" On 2017/05/25 21:11:08, Lei ...
3 years, 7 months ago (2017-05-25 21:20:48 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2901563003/100001
3 years, 7 months ago (2017-05-25 21:21:34 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/347685)
3 years, 7 months ago (2017-05-25 21:34:04 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2901563003/120001
3 years, 7 months ago (2017-05-26 23:42:13 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/348792)
3 years, 7 months ago (2017-05-27 00:03:02 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2901563003/120001
3 years, 6 months ago (2017-05-27 01:40:27 UTC) #43
commit-bot: I haz the power
3 years, 6 months ago (2017-05-27 02:20:18 UTC) #46
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/c173ef62237c56354fd42882ea09...

Powered by Google App Engine
This is Rietveld 408576698