summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 03:20:05 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-25 03:20:05 +0000
commit0bceb6c00f1177923efc41903de625ccc33d4428 (patch)
treee7c709bb819843d00f11dd32ae85ed5172a0ee3e /base
parentd4cafafac04f16475b30346609c21dca6a8906d0 (diff)
downloadchromium_src-0bceb6c00f1177923efc41903de625ccc33d4428.zip
chromium_src-0bceb6c00f1177923efc41903de625ccc33d4428.tar.gz
chromium_src-0bceb6c00f1177923efc41903de625ccc33d4428.tar.bz2
Run content scripts in their own isolated world. Hidden behind the --isolated-world command line argument to let us iterate on this feature.R=aaBUG=12218TEST=None :( (I have a testing plan we can put in place once the upstream half of this CL lands.)
Review URL: http://codereview.chromium.org/118188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/base_switches.cc4
-rw-r--r--base/base_switches.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc
index 77d263c..46b7676 100644
--- a/base/base_switches.cc
+++ b/base/base_switches.cc
@@ -40,4 +40,8 @@ const wchar_t kEnableDCHECK[] = L"enable-dcheck";
// Available at http://www.adambarth.com/papers/2008/jackson-barth.pdf
const wchar_t kForceHTTPS[] = L"force-https";
+// Run content scripts in their own isolated world instead of just in a new
+// context.
+const wchar_t kIsolatedWorld[] = L"isolated-world";
+
} // namespace switches
diff --git a/base/base_switches.h b/base/base_switches.h
index 97a3691..7b66ad5 100644
--- a/base/base_switches.h
+++ b/base/base_switches.h
@@ -17,6 +17,7 @@ extern const wchar_t kNoErrorDialogs[];
extern const wchar_t kProcessType[];
extern const wchar_t kEnableDCHECK[];
extern const wchar_t kForceHTTPS[];
+extern const wchar_t kIsolatedWorld[];
} // namespace switches