summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-12 22:22:19 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-12 22:22:19 +0000
commitc3456bbc289c54765e89d628ba03505425fe372a (patch)
tree7d027edc8ea0a358bd5dcfb227fbc48ea8ca26ab /webkit
parent9b10d2a051ec36c4e7f012d31b8214221db16eaa (diff)
downloadchromium_src-c3456bbc289c54765e89d628ba03505425fe372a.zip
chromium_src-c3456bbc289c54765e89d628ba03505425fe372a.tar.gz
chromium_src-c3456bbc289c54765e89d628ba03505425fe372a.tar.bz2
net: split the SSL session cache between incognito and normal.
This change causes incognito requests to effectively have a different SSL session cache from other requests. SSL session information will therefore not leak into or out of incognito mode. BUG=30877 TEST=net_unittests Review URL: http://codereview.chromium.org/8857002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114098 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/test_shell/test_shell_request_context.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/test_shell_request_context.cc b/webkit/tools/test_shell/test_shell_request_context.cc
index d74bd3e..c1c3e2c 100644
--- a/webkit/tools/test_shell/test_shell_request_context.cc
+++ b/webkit/tools/test_shell/test_shell_request_context.cc
@@ -95,7 +95,9 @@ void TestShellRequestContext::Init(
net::HttpCache* cache =
new net::HttpCache(host_resolver(), cert_verifier(),
origin_bound_cert_service(), NULL, NULL,
- proxy_service(), ssl_config_service(),
+ proxy_service(),
+ "" /* ssl_session_cache_shard */,
+ ssl_config_service(),
http_auth_handler_factory(), NULL,
http_server_properties(), NULL,
backend);