Chromium Code Reviews| Index: components/component_updater/default_component_installer.h |
| diff --git a/components/component_updater/default_component_installer.h b/components/component_updater/default_component_installer.h |
| index 8819c29053bf1b0390f0680600defd3ffda0958b..bb3624984fecd86422b1e76e67bdee11c4809e95 100644 |
| --- a/components/component_updater/default_component_installer.h |
| +++ b/components/component_updater/default_component_installer.h |
| @@ -86,6 +86,10 @@ class ComponentInstallerTraits { |
| // Returns the human-readable name of the component. |
| virtual std::string GetName() const = 0; |
| + // If this component is a plugin, returns the media types it can handle as a |
|
Sorin Jianu
2016/07/28 23:29:39
nit.
Can erase " as a vector. Else, does nothing"
waffles
2016/07/28 23:42:44
Done.
|
| + // vector. Else, does nothing. |
| + virtual std::vector<std::string> GetMimeTypes() const = 0; |
| + |
| // Returns a container of name-value pairs representing arbitrary, |
| // installer-defined metadata. |
| // The installer metadata may be used in the update checks for this component. |