Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Unified Diff: chrome/browser/profiles/off_the_record_profile_io_data.cc

Issue 8857002: net: split the SSL session cache between incognito and normal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | net/http/http_cache.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index b7b022ac12bee85b84854e3ef88fd58ef6f6ee22..6b1a928cb21b4fa87073f377d5ce705cdce80449 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -201,6 +201,9 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
main_context->transport_security_state(),
main_context->dns_cert_checker(),
main_context->proxy_service(),
+ "incognito", // set a different session_cache_shard so
+ // that we don't share an SSL session
+ // cache with the rest of the browser.
joth 2011/12/09 23:28:37 maybe put this in a named constant, so the detail
agl 2011/12/12 22:18:20 Done.
main_context->ssl_config_service(),
main_context->http_auth_handler_factory(),
main_context->network_delegate(),
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | net/http/http_cache.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698