Chromium Code Reviews| 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. |