| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index 8fba715caaee8a2c367ed3c0ce561ad9a0074f7b..e189d5141665ac4e9842e4f987f406794687a222 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -21,10 +21,12 @@
|
| #include "content/common/dom_storage/dom_storage_types.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/content_browser_client.h"
|
| #include "content/public/browser/dom_storage_context.h"
|
| #include "content/public/browser/indexed_db_context.h"
|
| #include "content/public/browser/local_storage_usage_info.h"
|
| #include "content/public/browser/session_storage_usage_info.h"
|
| +#include "content/public/common/content_client.h"
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/cookies/cookie_monster.h"
|
| @@ -421,11 +423,12 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| // that utilizes the QuotaManager.
|
| scoped_refptr<storage::QuotaManager> quota_manager =
|
| new storage::QuotaManager(
|
| - in_memory,
|
| - partition_path,
|
| + in_memory, partition_path,
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get(),
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB).get(),
|
| - context->GetSpecialStoragePolicy());
|
| + context->GetSpecialStoragePolicy(),
|
| + GetContentClient()->browser()->GetTemporaryStorageEvictionPolicy(
|
| + context));
|
|
|
| // Each consumer is responsible for registering its QuotaClient during
|
| // its construction.
|
|
|