summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 12:09:35 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 12:09:35 +0000
commitdcfb5c0db3c898441e6d1e1f38781a488816a0e4 (patch)
treea446debcf6430918e63ae049e46fbbb220274558 /chrome/common
parenta40c8dbc97b4a8f8499b703300da65fe053e95c2 (diff)
downloadchromium_src-dcfb5c0db3c898441e6d1e1f38781a488816a0e4.zip
chromium_src-dcfb5c0db3c898441e6d1e1f38781a488816a0e4.tar.gz
chromium_src-dcfb5c0db3c898441e6d1e1f38781a488816a0e4.tar.bz2
Add a "session only" policy to the content settings.
session only is treated as allow, but the cookies will expire after this session (the actual code to expire non-html cookies will follow). BUG=47049 TEST=none Review URL: http://codereview.chromium.org/2858018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51522 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/content_settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/common/content_settings.h b/chrome/common/content_settings.h
index b077be2..10fdcb5 100644
--- a/chrome/common/content_settings.h
+++ b/chrome/common/content_settings.h
@@ -14,6 +14,7 @@ enum ContentSetting {
CONTENT_SETTING_ALLOW,
CONTENT_SETTING_BLOCK,
CONTENT_SETTING_ASK,
+ CONTENT_SETTING_SESSION_ONLY,
CONTENT_SETTING_NUM_SETTINGS
};