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

Unified Diff: components/component_updater/default_component_installer.h

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Through #34 Created 4 years, 5 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
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.

Powered by Google App Engine
This is Rietveld 408576698