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

Unified Diff: content/public/browser/plugin_service.h

Issue 23828007: Check whether the Pepper CDM is available before adding the key system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated comments Created 7 years, 3 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
« no previous file with comments | « content/browser/plugin_service_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/plugin_service.h
diff --git a/content/public/browser/plugin_service.h b/content/public/browser/plugin_service.h
index 8c28948d21af534755483edb377d70d46ebea467..556d284e027448b99b57030d553f520ec5f881c6 100644
--- a/content/public/browser/plugin_service.h
+++ b/content/public/browser/plugin_service.h
@@ -102,6 +102,12 @@ class PluginService {
virtual PepperPluginInfo* GetRegisteredPpapiPluginInfo(
const base::FilePath& plugin_path) = 0;
+ // Returns whether any Pepper plugin supporting |mime_type| is registered.
+ // Does not determine whether the plugin can actually be instantiated
+ // (e.g. whether it is allowed or has all its dependencies).
+ virtual bool IsPepperPluginRegisteredForMimeType(
jam 2013/09/17 00:27:57 seems that you can avoid changing content, since c
ddorwin 2013/09/17 01:41:18 Yes, it's because chrome doesn't keep track (and p
Bernhard Bauer 2013/09/17 14:52:57 For locations in chrome/ that register plug-ins on
ddorwin 2013/09/17 17:19:53 We don't need to load it, but we make sure PathExi
+ const std::string& mime_type) = 0;
+
virtual void SetFilter(PluginServiceFilter* filter) = 0;
virtual PluginServiceFilter* GetFilter() = 0;
« no previous file with comments | « content/browser/plugin_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698