Index: chrome/browser/resources/options/options_page.js |
diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js |
index 8807ef37511897cf6de3def3f16e55e981bc55a0..7f193fa3a75bd9fa79e8bd15a30b15b8278d3485 100644 |
--- a/chrome/browser/resources/options/options_page.js |
+++ b/chrome/browser/resources/options/options_page.js |
@@ -714,6 +714,16 @@ cr.define('options', function() { |
} |
}; |
+ OptionsPage.setClearPluginLSODataEnabled = function(enabled) { |
+ if (enabled) { |
+ document.documentElement.setAttribute( |
+ 'flashPluginSupportsClearSiteData', ''); |
+ } else { |
+ document.documentElement.removeAttribute( |
+ 'flashPluginSupportsClearSiteData'); |
+ } |
+ }; |
+ |
/** |
* Re-initializes the C++ handlers if necessary. This is called if the |
* handlers are torn down and recreated but the DOM may not have been (in |