| Index: webkit/appcache/appcache_quota_client.cc
|
| diff --git a/webkit/appcache/appcache_quota_client.cc b/webkit/appcache/appcache_quota_client.cc
|
| index cedcc3e5f189d781709b58e42636969c21d138f5..a485610ba7c16955f78bda676e695a85e474bffd 100644
|
| --- a/webkit/appcache/appcache_quota_client.cc
|
| +++ b/webkit/appcache/appcache_quota_client.cc
|
| @@ -80,7 +80,7 @@ void AppCacheQuotaClient::GetOriginUsage(
|
| return;
|
| }
|
|
|
| - if (type == quota::kStorageTypePersistent) {
|
| + if (type != quota::kStorageTypeTemporary) {
|
| callback.Run(0);
|
| return;
|
| }
|
| @@ -130,7 +130,7 @@ void AppCacheQuotaClient::DeleteOriginData(const GURL& origin,
|
| }
|
|
|
| current_delete_request_callback_ = callback;
|
| - if (type == quota::kStorageTypePersistent) {
|
| + if (type != quota::kStorageTypeTemporary) {
|
| DidDeleteAppCachesForOrigin(net::OK);
|
| return;
|
| }
|
| @@ -173,7 +173,7 @@ void AppCacheQuotaClient::GetOriginsHelper(
|
| return;
|
| }
|
|
|
| - if (type == quota::kStorageTypePersistent) {
|
| + if (type != quota::kStorageTypeTemporary) {
|
| callback.Run(std::set<GURL>(), type);
|
| return;
|
| }
|
|
|