summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.h
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 22:58:43 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 22:58:43 +0000
commit44c504386e206b172696538f02ae3df7217c6ee2 (patch)
tree0769dac72cd613cfcb60b5f93758a14e8e60754c /webkit/glue/webpreferences.h
parent7855cdf9f74be8e3456c6985aa5a0f2aa6487cba (diff)
downloadchromium_src-44c504386e206b172696538f02ae3df7217c6ee2.zip
chromium_src-44c504386e206b172696538f02ae3df7217c6ee2.tar.gz
chromium_src-44c504386e206b172696538f02ae3df7217c6ee2.tar.bz2
Chromium pieces to use the WebKit support for isolation file:// documents in
their own unique domains. By default, we use this isolation for security. We provide a command line switch override for developers: --allow-file-access-from-files BUG=4197 TEST=WebKit test pending Review URL: http://codereview.chromium.org/625001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rw-r--r--webkit/glue/webpreferences.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index 58daa58..daf0043 100644
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -58,6 +58,7 @@ struct WebPreferences {
GURL user_style_sheet_location;
bool allow_universal_access_from_file_urls;
+ bool allow_file_access_from_file_urls;
bool experimental_webgl_enabled;
@@ -100,6 +101,7 @@ struct WebPreferences {
tabs_to_links(true),
user_style_sheet_enabled(false),
allow_universal_access_from_file_urls(false),
+ allow_file_access_from_file_urls(false),
experimental_webgl_enabled(false),
geolocation_enabled(false) {
}