diff options
author | levin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 02:33:46 +0000 |
---|---|---|
committer | levin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 02:33:46 +0000 |
commit | 861fcd5d715f0590e75eddfb1bacb0ac356c8026 (patch) | |
tree | d16ca24619a70210141952fe0c50859418b5ef45 /net/base/load_flags.h | |
parent | 9fa24879b1b211336e6da511a8931f62ad6845d7 (diff) | |
download | chromium_src-861fcd5d715f0590e75eddfb1bacb0ac356c8026.zip chromium_src-861fcd5d715f0590e75eddfb1bacb0ac356c8026.tar.gz chromium_src-861fcd5d715f0590e75eddfb1bacb0ac356c8026.tar.bz2 |
Add the ability to not send cookies or send user name/password.
Added unit tests for the above functionality plus the do not save cookies functionality.
BUG=http://crbug.com/10961
TEST=Added unit tests for this. Also, this isn't yet called from the rest of the code.
Review URL: http://codereview.chromium.org/173206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24412 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/load_flags.h')
-rw-r--r-- | net/base/load_flags.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/base/load_flags.h b/net/base/load_flags.h index 2c007a6..49c6daf 100644 --- a/net/base/load_flags.h +++ b/net/base/load_flags.h @@ -70,6 +70,13 @@ enum { // Requires EV certificate verification. LOAD_VERIFY_EV_CERT = 1 << 16, + + // This load will not send any cookies. + LOAD_DO_NOT_SEND_COOKIES = 1 << 17, + + // This load will not send authentication data (user name/password) + // to the server (as opposed to the proxy). + LOAD_DO_NOT_SEND_AUTH_DATA = 1 << 18, }; } // namespace net |