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

Unified Diff: chrome/browser/profile.cc

Issue 502087: Use Separate SSL Session Cache in OTR Mode (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 6 months 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
Index: chrome/browser/profile.cc
===================================================================
--- chrome/browser/profile.cc (revision 51274)
+++ chrome/browser/profile.cc (working copy)
@@ -302,6 +302,9 @@
explicit OffTheRecordProfileImpl(Profile* real_profile)
: profile_(real_profile),
start_time_(Time::Now()) {
+ ssl_config_service_manager_.reset(
+ SSLConfigServiceManager::CreateDefaultManager(this));
+
request_context_ = ChromeURLRequestContextGetter::CreateOffTheRecord(this);
// Register for browser close notifications so we can detect when the last
@@ -516,7 +519,7 @@
}
virtual net::SSLConfigService* GetSSLConfigService() {
- return profile_->GetSSLConfigService();
+ return ssl_config_service_manager_->Get();
}
virtual HostContentSettingsMap* GetHostContentSettingsMap() {
@@ -725,6 +728,8 @@
// Should be used only on the file thread.
scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
+ scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
+
FilePath last_selected_directory_;
// Tracks all BackgroundContents running under this profile.

Powered by Google App Engine
This is Rietveld 408576698