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

Unified Diff: chrome/browser/chrome_plugin_service_filter.h

Issue 10993016: Override plug-ins by path instead of name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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 | « no previous file | chrome/browser/chrome_plugin_service_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_plugin_service_filter.h
diff --git a/chrome/browser/chrome_plugin_service_filter.h b/chrome/browser/chrome_plugin_service_filter.h
index 1bbec5ab3adc42965d5d4ddd8e4883d0025a7246..83fa17fe8e85d5826473d1777008aa6065027f7f 100644
--- a/chrome/browser/chrome_plugin_service_filter.h
+++ b/chrome/browser/chrome_plugin_service_filter.h
@@ -17,6 +17,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/plugin_service_filter.h"
#include "googleurl/src/gurl.h"
+#include "webkit/plugins/webplugininfo.h"
class PluginPrefs;
class Profile;
@@ -38,7 +39,7 @@ class ChromePluginServiceFilter : public content::PluginServiceFilter,
void OverridePluginForTab(int render_process_id,
int render_view_id,
const GURL& url,
- const string16& plugin_name);
+ const webkit::WebPluginInfo& plugin);
// Restricts the given plugin to the given profile and origin of the given
// URL.
@@ -65,7 +66,7 @@ class ChromePluginServiceFilter : public content::PluginServiceFilter,
int render_process_id;
int render_view_id;
GURL url; // If empty, the override applies to all urls in render_view.
- string16 plugin_name;
+ webkit::WebPluginInfo plugin;
};
ChromePluginServiceFilter();
« no previous file with comments | « no previous file | chrome/browser/chrome_plugin_service_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698