diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 21:00:34 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-29 21:00:34 +0000 |
commit | 15e84d9dad946d522ca6b5acf7db721a4ea76946 (patch) | |
tree | af079dd93c04f3736f10ac77da8a86ce099cc4d2 /webkit | |
parent | 1cc71de3863b49ba125576bdff84d739356070fb (diff) | |
download | chromium_src-15e84d9dad946d522ca6b5acf7db721a4ea76946.zip chromium_src-15e84d9dad946d522ca6b5acf7db721a4ea76946.tar.gz chromium_src-15e84d9dad946d522ca6b5acf7db721a4ea76946.tar.bz2 |
Implement extended cookie controls.
BUG=32782
TEST=none
Review URL: http://codereview.chromium.org/554119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/tools/test_shell/test_shell_request_context.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_request_context.cc b/webkit/tools/test_shell/test_shell_request_context.cc index 0357e21..ef23908 100644 --- a/webkit/tools/test_shell/test_shell_request_context.cc +++ b/webkit/tools/test_shell/test_shell_request_context.cc @@ -8,6 +8,7 @@ #include "base/file_path.h" #include "net/base/cookie_monster.h" +#include "net/base/cookie_policy.h" #include "net/base/host_resolver.h" #include "net/base/ssl_config_service.h" #include "net/ftp/ftp_network_layer.h" @@ -32,6 +33,7 @@ void TestShellRequestContext::Init( net::HttpCache::Mode cache_mode, bool no_proxy) { cookie_store_ = new net::CookieMonster(); + cookie_policy_ = new net::CookiePolicy(); // hard-code A-L and A-C for test shells accept_language_ = "en-us,en"; @@ -75,6 +77,7 @@ void TestShellRequestContext::Init( TestShellRequestContext::~TestShellRequestContext() { delete ftp_transaction_factory_; delete http_transaction_factory_; + delete cookie_policy_; } const std::string& TestShellRequestContext::GetUserAgent( |