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

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

Issue 13601002: Report UMA for Shockwave Flash and Widevine CDM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | chrome/renderer/plugins/plugin_uma.cc » ('j') | chrome/renderer/plugins/plugin_uma.cc » ('J')
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 f1eb4cf2d701a2a35cc7f89c81291d43224bd2b5..33e648bba02da8cf65aa534f88edcc27f81932b5 100644
--- a/chrome/renderer/plugins/plugin_uma.h
+++ b/chrome/renderer/plugins/plugin_uma.h
@@ -17,14 +17,19 @@
// or, if mime type is unknown, by plugin's src url.
class MissingPluginReporter {
public:
- // This must be sync'd with histogram values.
enum PluginType {
WINDOWS_MEDIA_PLAYER = 0,
SILVERLIGHT = 1,
REALPLAYER = 2,
JAVA = 3,
QUICKTIME = 4,
- OTHER = 5
+ OTHER = 5,
xhwang 2013/04/03 23:36:55 This is hacky. I don't want to touch the current h
Bernhard Bauer 2013/04/04 07:01:56 Haha, guess we should have initially defined OTHER
xhwang 2013/04/05 00:58:18 Agreed. I don't want to change the existing histog
Bernhard Bauer 2013/04/05 13:29:09 No, I meant there is no need to write out the actu
+ SHOCKWAVE_FLASH = 6,
+ WIDEVINE_CDM = 7,
ddorwin 2013/04/04 19:52:24 If you're trying to reduce "other", I suggest also
xhwang 2013/04/05 00:58:18 Done.
+ // NOTE: Add new plugin types only immediately above this line. Also, make
+ // sure the enum list in tools/histogram/histograms.xml is updated with any
+ // change here.
+ PLUGIN_TYPE_MAX
};
// Sends UMA data, i.e. plugin's type.
« no previous file with comments | « no previous file | chrome/renderer/plugins/plugin_uma.cc » ('j') | chrome/renderer/plugins/plugin_uma.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698