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

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

Issue 2901563003: PDF: Add UMA to track embedded PDF triggered drive-by downloads. (Closed)
Patch Set: fix 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
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/plugins/plugin_uma.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/plugins/plugin_uma.h
diff --git a/chrome/renderer/plugins/plugin_uma.h b/chrome/renderer/plugins/plugin_uma.h
index a201f087f9344b2234e108b315d25c922b2924eb..3a1849277bbb3a80eb99f07ef5cd63899f5774cc 100644
--- a/chrome/renderer/plugins/plugin_uma.h
+++ b/chrome/renderer/plugins/plugin_uma.h
@@ -44,15 +44,6 @@ class PluginUMAReporter {
PLUGIN_TYPE_MAX
};
- // Must be kept in sync with PDFLoadStatus enum in histograms.xml.
- // This enum should be treated as append-only.
- enum PDFLoadStatus {
- LOADED_FULL_PAGE_PDF_WITH_PDFIUM = 0,
- LOADED_EMBEDDED_PDF_WITH_PDFIUM = 1,
- SHOWED_DISABLED_PLUGIN_PLACEHOLDER_FOR_EMBEDDED_PDF = 2,
- PDF_LOAD_STATUS_COUNT
- };
-
// Sends UMA data, i.e. plugin's type.
class UMASender {
public:
@@ -64,8 +55,6 @@ class PluginUMAReporter {
// Returns singleton instance.
static PluginUMAReporter* GetInstance();
- static void ReportPDFLoadStatus(PDFLoadStatus status);
-
void ReportPluginMissing(const std::string& plugin_mime_type,
const GURL& plugin_src);
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/plugins/plugin_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698