diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 10:19:13 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 10:19:13 +0000 |
commit | 031f05b654615714ce78fb1ce4bf9d21057a3d70 (patch) | |
tree | 0002bbd6ec25a97aedc842eb4597f39cdc59e444 /webkit/glue/webpreferences.h | |
parent | 9053223996426d765c7db0857fa52d1b48d72ed5 (diff) | |
download | chromium_src-031f05b654615714ce78fb1ce4bf9d21057a3d70.zip chromium_src-031f05b654615714ce78fb1ce4bf9d21057a3d70.tar.gz chromium_src-031f05b654615714ce78fb1ce4bf9d21057a3d70.tar.bz2 |
Plumb a command line argument to enable the XSSAuditor.
TBR=darin
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/146023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rw-r--r-- | webkit/glue/webpreferences.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h index 34c93b5..d75138a 100644 --- a/webkit/glue/webpreferences.h +++ b/webkit/glue/webpreferences.h @@ -41,6 +41,7 @@ struct WebPreferences { bool allow_scripts_to_close_windows; bool uses_page_cache; bool remote_fonts_enabled; + bool xss_auditor_enabled; // TODO(tc): User style sheets will not work in chrome because it tries to // load the style sheet using a request without a frame. @@ -77,6 +78,7 @@ struct WebPreferences { allow_scripts_to_close_windows(false), uses_page_cache(false), remote_fonts_enabled(false), + xss_auditor_enabled(false), user_style_sheet_enabled(false) { } }; |