| 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..2b67478bca4c7af75e220214e7b76bf21b5e961b 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,
|
| + 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) {
|
| }
|
|
|
| StoragePartitionImpl::~StoragePartitionImpl() {
|
| @@ -234,13 +236,17 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| scoped_refptr<ChromeAppCacheService> appcache_service =
|
| new ChromeAppCacheService(quota_manager->proxy());
|
|
|
| + scoped_refptr<DTLSIdentityStore> dtls_identity_store =
|
| + 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.get());
|
| }
|
|
|
| base::FilePath StoragePartitionImpl::GetPath() {
|
| @@ -280,6 +286,10 @@ IndexedDBContextImpl* StoragePartitionImpl::GetIndexedDBContext() {
|
| return indexed_db_context_.get();
|
| }
|
|
|
| +DTLSIdentityStore* StoragePartitionImpl::GetDTLSIdentityStore() {
|
| + return dtls_identity_store_.get();
|
| +}
|
| +
|
| void StoragePartitionImpl::AsyncClearDataForOrigin(
|
| uint32 storage_mask,
|
| const GURL& storage_origin,
|
|
|