| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index e906a6acb8dc22a68ba429db5a1370496b5a01d4..cad077420d37bbc43e9da7db64cb6fc4e87932ff 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -19,14 +19,16 @@ StoragePartitionImpl::StoragePartitionImpl(
|
| fileapi::FileSystemContext* filesystem_context,
|
| webkit_database::DatabaseTracker* database_tracker,
|
| DOMStorageContextImpl* dom_storage_context,
|
| - IndexedDBContextImpl* indexed_db_context)
|
| + IndexedDBContextImpl* indexed_db_context,
|
| + ResourceContext* resource_context)
|
| : 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),
|
| + resource_context_(resource_context) {
|
| }
|
|
|
| StoragePartitionImpl::~StoragePartitionImpl() {
|
| @@ -96,7 +98,8 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| filesystem_context,
|
| database_tracker,
|
| dom_storage_context,
|
| - indexed_db_context);
|
| + indexed_db_context,
|
| + context->GetResourceContext(NULL));
|
| }
|
|
|
| quota::QuotaManager* StoragePartitionImpl::GetQuotaManager() {
|
| @@ -123,4 +126,8 @@ IndexedDBContextImpl* StoragePartitionImpl::GetIndexedDBContext() {
|
| return indexed_db_context_;
|
| }
|
|
|
| +ResourceContext* StoragePartitionImpl::GetResourceContext() {
|
| + return resource_context_;
|
| +}
|
| +
|
| } // namespace content
|
|
|