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

Unified Diff: chrome/browser/plugins/plugin_info_message_filter.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: Fix bug that broke the test CDM. 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
Index: chrome/browser/plugins/plugin_info_message_filter.h
diff --git a/chrome/browser/plugins/plugin_info_message_filter.h b/chrome/browser/plugins/plugin_info_message_filter.h
index d57427e88a0c8b4dbfbd080470feecf6c5c6df1e..21cd02c3e92ca92de3b9bf43f6d05b295a922a04 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.h
+++ b/chrome/browser/plugins/plugin_info_message_filter.h
@@ -98,6 +98,12 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
IPC::Message* reply_msg,
const std::vector<content::WebPluginInfo>& plugins);
+ // Returns whether any internal 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).
+ void OnIsInternalPluginRegisteredForMimeType(const std::string& mime_type,
+ bool* is_registered);
+
Context context_;
base::WeakPtrFactory<PluginInfoMessageFilter> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698