| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index e32fc72ff6d3e7c9d6f63d0698b8793c6dad9d51..8917e6da6311cce3f30166c76a72be426836db82 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -157,14 +157,16 @@ StoragePartitionImpl::StoragePartitionImpl(
|
| fileapi::FileSystemContext* filesystem_context,
|
| webkit_database::DatabaseTracker* database_tracker,
|
| DOMStorageContextImpl* dom_storage_context,
|
| - IndexedDBContextImpl* indexed_db_context)
|
| + IndexedDBContextImpl* indexed_db_context,
|
| + scoped_ptr<DTLSIdentityStore> dtls_identity_store)
|
| : partition_path_(partition_path),
|
| quota_manager_(quota_manager),
|
| appcache_service_(appcache_service),
|
| filesystem_context_(filesystem_context),
|
| database_tracker_(database_tracker),
|
| dom_storage_context_(dom_storage_context),
|
| - indexed_db_context_(indexed_db_context) {
|
| + indexed_db_context_(indexed_db_context),
|
| + dtls_identity_store_(dtls_identity_store.Pass()) {
|
| }
|
|
|
| StoragePartitionImpl::~StoragePartitionImpl() {
|
| @@ -234,13 +236,17 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| scoped_refptr<ChromeAppCacheService> appcache_service =
|
| new ChromeAppCacheService(quota_manager->proxy());
|
|
|
| + scoped_ptr<DTLSIdentityStore> dtls_identity_store;
|
| + dtls_identity_store.reset(new DTLSIdentityStore());
|
| +
|
| return new StoragePartitionImpl(partition_path,
|
| quota_manager.get(),
|
| appcache_service.get(),
|
| filesystem_context.get(),
|
| database_tracker.get(),
|
| dom_storage_context.get(),
|
| - indexed_db_context.get());
|
| + indexed_db_context.get(),
|
| + dtls_identity_store.Pass());
|
| }
|
|
|
| base::FilePath StoragePartitionImpl::GetPath() {
|
| @@ -335,6 +341,10 @@ void StoragePartitionImpl::AsyncClearDataBetween(uint32 storage_mask,
|
| }
|
| }
|
|
|
| +DTLSIdentityStore* StoragePartitionImpl::GetDTLSIdentityStore() {
|
| + return dtls_identity_store_.get();
|
| +}
|
| +
|
| void StoragePartitionImpl::SetURLRequestContext(
|
| net::URLRequestContextGetter* url_request_context) {
|
| url_request_context_ = url_request_context;
|
|
|