| 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 ba106604dbd757ba8db9f98c4720d7ac83909b81..71da9e3122465a912dd919ac7509c78168cd8ccf 100644
|
| --- a/chrome/browser/plugins/plugins_field_trial.h
|
| +++ b/chrome/browser/plugins/plugins_field_trial.h
|
| @@ -9,14 +9,24 @@
|
| #include "components/content_settings/core/common/content_settings.h"
|
| #include "components/content_settings/core/common/content_settings_types.h"
|
|
|
| +class GURL;
|
| +class HostContentSettingsMap;
|
| +
|
| // This class manages the Plugins field trials.
|
| class PluginsFieldTrial {
|
| public:
|
| + // The name of the variations parameter used for updating the amount of site
|
| + // engagement required to permit Flash.
|
| + static const char* kSiteEngagementThresholdForFlashKey;
|
| +
|
| // Returns the effective content setting for plugins. Passes non-plugin
|
| // content settings through without modification.
|
| static ContentSetting EffectiveContentSetting(ContentSettingsType type,
|
| ContentSetting setting);
|
|
|
| + // Returns the engagement cutoff for permitting Flash to run without a prompt.
|
| + static double GetSiteEngagementThresholdForFlash();
|
| +
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(PluginsFieldTrial);
|
| };
|
|
|