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

Issue 2852193002: PDF: Add UMA to track successful / failed PDF loads (Closed)

Created:
3 years, 7 months ago by tommycli
Modified:
3 years, 7 months ago
Reviewers:
Lei Zhang, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

PDF: Add UMA to track successful / failed PDF loads This CL covers successful loads of the internal PDF plugin, as well as when we show the plugin placeholder for the PDF (when user is on Android or the plugin is disabled and there is no fallback content). This CL does not cover the drive-by download or main-frame download cases. Those will be in a followup CL. BUG=714917 Review-Url: https://codereview.chromium.org/2852193002 Cr-Commit-Position: refs/heads/master@{#470130} Committed: https://chromium.googlesource.com/chromium/src/+/e57c73a2db2ce7fad847d8663748d387fe545390

Patch Set 1 #

Patch Set 2 : reformat #

Total comments: 8

Patch Set 3 : fix up #

Total comments: 2

Patch Set 4 : fix histograms #

Total comments: 4

Patch Set 5 : change to count #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -2 lines) Patch
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 chunks +22 lines, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_uma.h View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_uma.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
tommycli
thestig: PTAL, this is the UMA we discussed previously. Both Android frontend and Media PMs ...
3 years, 7 months ago (2017-05-01 22:25:22 UTC) #4
tommycli
thestig: ping, thanks!
3 years, 7 months ago (2017-05-03 15:28:47 UTC) #5
Lei Zhang
https://codereview.chromium.org/2852193002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2852193002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc#newcode25 chrome/renderer/chrome_content_renderer_client.cc:25: #include "chrome/common/chrome_content_client.h" Remove existing entry from line 158 then? ...
3 years, 7 months ago (2017-05-03 23:50:35 UTC) #6
tommycli
thanks! https://codereview.chromium.org/2852193002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2852193002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc#newcode25 chrome/renderer/chrome_content_renderer_client.cc:25: #include "chrome/common/chrome_content_client.h" On 2017/05/03 23:50:34, Lei Zhang wrote: ...
3 years, 7 months ago (2017-05-04 00:08:31 UTC) #7
Lei Zhang
Need a histogram OWNER, BTW.
3 years, 7 months ago (2017-05-04 00:18:17 UTC) #10
Lei Zhang
lgtm https://codereview.chromium.org/2852193002/diff/40001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2852193002/diff/40001/chrome/renderer/chrome_content_renderer_client.cc#newcode124 chrome/renderer/chrome_content_renderer_client.cc:124: #include "third_party/WebKit/public/web/WebView.h" No longer needed?
3 years, 7 months ago (2017-05-04 00:19:11 UTC) #11
tommycli
thanks lei! https://codereview.chromium.org/2852193002/diff/40001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2852193002/diff/40001/chrome/renderer/chrome_content_renderer_client.cc#newcode124 chrome/renderer/chrome_content_renderer_client.cc:124: #include "third_party/WebKit/public/web/WebView.h" On 2017/05/04 00:19:11, Lei Zhang ...
3 years, 7 months ago (2017-05-08 16:17:52 UTC) #14
tommycli
isherman: histograms PTAL, thanks!
3 years, 7 months ago (2017-05-08 16:18:25 UTC) #16
Ilya Sherman
Metrics LGTM % nits: https://codereview.chromium.org/2852193002/diff/60001/chrome/renderer/plugins/plugin_uma.h File chrome/renderer/plugins/plugin_uma.h (right): https://codereview.chromium.org/2852193002/diff/60001/chrome/renderer/plugins/plugin_uma.h#newcode47 chrome/renderer/plugins/plugin_uma.h:47: // Must be kept in ...
3 years, 7 months ago (2017-05-08 17:59:57 UTC) #19
tommycli
https://codereview.chromium.org/2852193002/diff/60001/chrome/renderer/plugins/plugin_uma.h File chrome/renderer/plugins/plugin_uma.h (right): https://codereview.chromium.org/2852193002/diff/60001/chrome/renderer/plugins/plugin_uma.h#newcode47 chrome/renderer/plugins/plugin_uma.h:47: // Must be kept in sync with PDFLoadStatus enum ...
3 years, 7 months ago (2017-05-08 18:16:17 UTC) #20
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/2852193002/80001
3 years, 7 months ago (2017-05-08 18:18:11 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 21:18:26 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e57c73a2db2ce7fad847d8663748...

Powered by Google App Engine
This is Rietveld 408576698