DescriptionReport disabled plugin in CreatePlugin.
Currently we only get stats about missing plugins (including unregistered plugin and missing plugin file). It is also interesting to know how many plugin creation failed because it is disabled. User may forget that he/she disabled a particular plugin and he/she doesn't get an info bar in this case, which could cause confusion.
In this CL:
- Rename MissingPluginReporter to PluginUMAReporter.
- Add ReportPluginDisabled function.
- Call ReportPluginDisabled function if the plugin is disabled in CreatePlugin.
- Refactor PluginUMATest to remove duplicate code.
BUG=226107
TEST=Unittests pass.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192652
Patch Set 1 #
Total comments: 3
Patch Set 2 : unittest updated #
Total comments: 13
Patch Set 3 : resolve comments. #
Total comments: 2
Patch Set 4 : remove TODO #
Messages
Total messages: 14 (0 generated)
|