| Index: storage/browser/quota/quota_temporary_storage_evictor.cc
|
| diff --git a/storage/browser/quota/quota_temporary_storage_evictor.cc b/storage/browser/quota/quota_temporary_storage_evictor.cc
|
| index cb4c504b023890cfbb4bbc70c38e33a80a1ea4c3..adcff0d88eab183d7b3de0cdec23995b28ff85cd 100644
|
| --- a/storage/browser/quota/quota_temporary_storage_evictor.cc
|
| +++ b/storage/browser/quota/quota_temporary_storage_evictor.cc
|
| @@ -195,9 +195,9 @@ void QuotaTemporaryStorageEvictor::OnGotUsageAndQuotaForEviction(
|
| // Space is getting tight. Get the least recently used origin and continue.
|
| // TODO(michaeln): if the reason for eviction is low physical disk space,
|
| // make 'unlimited' origins subject to eviction too.
|
| - quota_eviction_handler_->GetLRUOrigin(
|
| + quota_eviction_handler_->GetEvictionOrigin(
|
| kStorageTypeTemporary,
|
| - base::Bind(&QuotaTemporaryStorageEvictor::OnGotLRUOrigin,
|
| + base::Bind(&QuotaTemporaryStorageEvictor::OnGotEvictionOrigin,
|
| weak_factory_.GetWeakPtr()));
|
| } else {
|
| if (repeated_eviction_) {
|
| @@ -217,7 +217,7 @@ void QuotaTemporaryStorageEvictor::OnGotUsageAndQuotaForEviction(
|
| // TODO(dmikurube): Add error handling for the case status != kQuotaStatusOk.
|
| }
|
|
|
| -void QuotaTemporaryStorageEvictor::OnGotLRUOrigin(const GURL& origin) {
|
| +void QuotaTemporaryStorageEvictor::OnGotEvictionOrigin(const GURL& origin) {
|
| DCHECK(CalledOnValidThread());
|
|
|
| if (origin.is_empty()) {
|
|
|