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

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

Issue 2408613002: Replace kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… (Closed)
Patch Set: Replace remaining kPreferHtmlOverPlugins feature checks with PluginUtils::ShouldPreferHtmlOverPlugi… Created 4 years, 2 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 | « chrome/browser/plugins/plugin_utils.cc ('k') | chrome/browser/plugins/plugins_field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugins_field_trial.h
diff --git a/chrome/browser/plugins/plugins_field_trial.h b/chrome/browser/plugins/plugins_field_trial.h
index 71da9e3122465a912dd919ac7509c78168cd8ccf..83ae04c23bf998d06383d343abc6f9fab8b75a74 100644
--- a/chrome/browser/plugins/plugins_field_trial.h
+++ b/chrome/browser/plugins/plugins_field_trial.h
@@ -21,8 +21,10 @@ class PluginsFieldTrial {
// Returns the effective content setting for plugins. Passes non-plugin
// content settings through without modification.
- static ContentSetting EffectiveContentSetting(ContentSettingsType type,
- ContentSetting setting);
+ static ContentSetting EffectiveContentSetting(
+ const HostContentSettingsMap* host_content_settings_map,
+ ContentSettingsType type,
+ ContentSetting setting);
// Returns the engagement cutoff for permitting Flash to run without a prompt.
static double GetSiteEngagementThresholdForFlash();
« no previous file with comments | « chrome/browser/plugins/plugin_utils.cc ('k') | chrome/browser/plugins/plugins_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698