summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance.h
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 03:49:10 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 03:49:10 +0000
commit313b80bd2c5b7257d8daa2ef4aef0ee5b6e1555c (patch)
tree47d61470586f795d0f066f3e1d869505bff8de0f /content/browser/site_instance.h
parent02f2de67ceeb9851a87391ef2a00a30661e20bc2 (diff)
downloadchromium_src-313b80bd2c5b7257d8daa2ef4aef0ee5b6e1555c.zip
chromium_src-313b80bd2c5b7257d8daa2ef4aef0ee5b6e1555c.tar.gz
chromium_src-313b80bd2c5b7257d8daa2ef4aef0ee5b6e1555c.tar.bz2
Enhance --enable-strict-site-isolation to prevent a site-isolated renderer
process from seeing or using cookies for other origins. Review URL: http://codereview.chromium.org/8496027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/site_instance.h')
-rw-r--r--content/browser/site_instance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/site_instance.h b/content/browser/site_instance.h
index 057ed59..9feccfc 100644
--- a/content/browser/site_instance.h
+++ b/content/browser/site_instance.h
@@ -172,6 +172,9 @@ class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance>,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // Used to restrict a process' origin access rights.
+ void LockToOrigin();
+
// The next available SiteInstance ID.
static int32 next_site_instance_id_;