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

Unified Diff: chrome/renderer/plugins/plugin_uma.cc

Issue 2901563003: PDF: Add UMA to track embedded PDF triggered drive-by downloads. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/plugins/plugin_uma.cc
diff --git a/chrome/renderer/plugins/plugin_uma.cc b/chrome/renderer/plugins/plugin_uma.cc
index ff3ccd741295b554c48769874378caaa99e89110..0aceead0d76a1286e9ed80c60c35aafa1e331766 100644
--- a/chrome/renderer/plugins/plugin_uma.cc
+++ b/chrome/renderer/plugins/plugin_uma.cc
@@ -66,12 +66,6 @@ PluginUMAReporter* PluginUMAReporter::GetInstance() {
return base::Singleton<PluginUMAReporter>::get();
}
-// static
-void PluginUMAReporter::ReportPDFLoadStatus(PDFLoadStatus status) {
- UMA_HISTOGRAM_ENUMERATION("PDF.LoadStatus", status,
- PluginUMAReporter::PDF_LOAD_STATUS_COUNT);
-}
-
void PluginUMAReporter::ReportPluginMissing(const std::string& plugin_mime_type,
const GURL& plugin_src) {
report_sender_->SendPluginUMA(MISSING_PLUGIN,

Powered by Google App Engine
This is Rietveld 408576698