Index: chrome/browser/content_settings/tab_specific_content_settings.h |
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h |
index 063faa95fe36c2409d6d0d5dd24e9084cb363de0..5debe38d1957a24c71ce99997643d027709cea15 100644 |
--- a/chrome/browser/content_settings/tab_specific_content_settings.h |
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h |
@@ -258,6 +258,15 @@ class TabSpecificContentSettings |
return pending_protocol_handler_setting_; |
} |
+ //Set whether the setting for the plugin bubble mode is Allow, Block or Run |
+ //this time |
+ void set_plugin_bubble_setting(ContentSetting setting) { |
+ plugin_bubble_setting_ = setting; |
+ } |
+ |
+ ContentSetting plugin_bubble_setting() const { |
+ return plugin_bubble_setting_; |
+ } |
// Returns a pointer to the |LocalSharedObjectsContainer| that contains all |
// allowed local shared objects like cookies, local storage, ... . |
@@ -405,6 +414,10 @@ class TabSpecificContentSettings |
// the user opens the bubble and makes changes multiple times. |
ContentSetting pending_protocol_handler_setting_; |
+ // The setting on the plugin bubble model. Persisted in case |
+ // the user opens the bubble and makes changes multiple times. |
+ ContentSetting plugin_bubble_setting_; |
+ |
// Stores whether the user can load blocked plugins on this page. |
bool load_plugins_link_enabled_; |