summaryrefslogtreecommitdiffstats
path: root/chrome/browser/host_content_settings_map.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 17:05:34 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 17:05:34 +0000
commit5e45686bbb4cf67e111bde33d55f936cd133b6a1 (patch)
tree471f0827b4c88fd88883f35661c073cf1fc83d2f /chrome/browser/host_content_settings_map.h
parent42a614dd5fe677fd2b98e3b7615c6b2cd733f60b (diff)
downloadchromium_src-5e45686bbb4cf67e111bde33d55f936cd133b6a1.zip
chromium_src-5e45686bbb4cf67e111bde33d55f936cd133b6a1.tar.gz
chromium_src-5e45686bbb4cf67e111bde33d55f936cd133b6a1.tar.bz2
Move --block-nonsandboxed-plugins command line switch to preferences.
BUG=53812 TEST=none Review URL: http://codereview.chromium.org/3217009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57872 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/host_content_settings_map.h')
-rw-r--r--chrome/browser/host_content_settings_map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/host_content_settings_map.h b/chrome/browser/host_content_settings_map.h
index 0bf8044..2be7e23 100644
--- a/chrome/browser/host_content_settings_map.h
+++ b/chrome/browser/host_content_settings_map.h
@@ -219,6 +219,12 @@ class HostContentSettingsMap
// This should only be called on the UI thread.
void SetBlockThirdPartyCookies(bool block);
+ bool GetBlockNonsandboxedPlugins() const {
+ return block_nonsandboxed_plugins_;
+ }
+
+ void SetBlockNonsandboxedPlugins(bool block);
+
// Resets all settings levels.
//
// This should only be called on the UI thread.
@@ -293,6 +299,7 @@ class HostContentSettingsMap
// Misc global settings.
bool block_third_party_cookies_;
+ bool block_nonsandboxed_plugins_;
// Used around accesses to the settings objects to guarantee thread safety.
mutable Lock lock_;