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

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: git pull && gclient sync 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..126aeefa5860719e82ba3d6a0ffeba3a1e59aa72 100644
--- a/components/component_updater/default_component_installer.h
+++ b/components/component_updater/default_component_installer.h
@@ -86,6 +86,9 @@ 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.
+ 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