| Index: webkit/tools/test_shell/test_shell_request_context.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/test_shell_request_context.cc (revision 37613)
|
| +++ webkit/tools/test_shell/test_shell_request_context.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "net/base/cookie_monster.h"
|
| #include "net/base/host_resolver.h"
|
| #include "net/base/ssl_config_service.h"
|
| +#include "net/base/static_cookie_policy.h"
|
| #include "net/ftp/ftp_network_layer.h"
|
| #include "net/proxy/proxy_config_service.h"
|
| #include "net/proxy/proxy_config_service_fixed.h"
|
| @@ -32,6 +33,7 @@
|
| net::HttpCache::Mode cache_mode,
|
| bool no_proxy) {
|
| cookie_store_ = new net::CookieMonster();
|
| + cookie_policy_ = new net::StaticCookiePolicy();
|
|
|
| // hard-code A-L and A-C for test shells
|
| accept_language_ = "en-us,en";
|
| @@ -75,6 +77,7 @@
|
| TestShellRequestContext::~TestShellRequestContext() {
|
| delete ftp_transaction_factory_;
|
| delete http_transaction_factory_;
|
| + delete static_cast<net::StaticCookiePolicy*>(cookie_policy_);
|
| }
|
|
|
| const std::string& TestShellRequestContext::GetUserAgent(
|
|
|