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

Unified Diff: chrome/browser/plugins/plugin_info_message_filter.h

Issue 399063004: Check whether the plugin is disabled in OnIsInternalPluginRegisteredForMimeType(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 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: 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 c9987c5573e4306d32363541be5dc79deeb55e24..ce2560072f645ceaff1b4ce7a3b757d9c0f92041 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.h
+++ b/chrome/browser/plugins/plugin_info_message_filter.h
@@ -63,6 +63,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
bool* is_managed) const;
void MaybeGrantAccess(const ChromeViewHostMsg_GetPluginInfo_Status& status,
const base::FilePath& path) const;
+ bool IsPluginEnabled(const content::WebPluginInfo& plugin) const;
private:
int render_process_id_;
@@ -106,7 +107,7 @@ class PluginInfoMessageFilter : public content::BrowserMessageFilter {
// When the returned *|is_registered| is true, |additional_param_names| and
ddorwin 2014/07/21 17:54:58 ditto from 112
xhwang 2014/07/21 18:16:42 Done.
// |additional_param_values| contain the name-value pairs, if any, specified
// for the *first* plugin found that is registered for |mime_type|.
ddorwin 2014/07/21 17:54:57 ditto from 104
xhwang 2014/07/21 18:16:42 Done.
- void OnIsInternalPluginRegisteredForMimeType(
+ void OnIsInternalPluginAvailableForMimeType(
const std::string& mime_type,
bool* is_registered,
ddorwin 2014/07/21 17:54:57 is_available
xhwang 2014/07/21 18:16:42 Done.
std::vector<base::string16>* additional_param_names,

Powered by Google App Engine
This is Rietveld 408576698