summaryrefslogtreecommitdiffstats
path: root/content/browser/storage_partition_impl.cc
diff options
context:
space:
mode:
authorkareng <kareng@google.com>2014-10-20 05:28:28 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-20 12:28:49 +0000
commit10e58e62b3dff1340532cb5986315e7174186497 (patch)
tree03e9d11dabc4ebe5559c331cfe8d0b5ad990c428 /content/browser/storage_partition_impl.cc
parent997d364ad30fe99c15c8246e2c638e9e55d7e8ad (diff)
downloadchromium_src-10e58e62b3dff1340532cb5986315e7174186497.zip
chromium_src-10e58e62b3dff1340532cb5986315e7174186497.tar.gz
chromium_src-10e58e62b3dff1340532cb5986315e7174186497.tar.bz2
Revert of Added quota client for serviceworker. Enables 'clear past <time> data'. (patchset #7 id:300001 of https://codereview.chromium.org/633273002/)
Reason for revert: causing crashes https://code.google.com/p/chromium/issues/detail?id=424831 Original issue's description: > Added quota client for serviceworker. Enables 'clear past <time> data'. > > BUG=419287 > > Committed: https://crrev.com/f6916df879bf23bacf994880359c980f4249e324 > Cr-Commit-Position: refs/heads/master@{#299918} TBR=michaeln@chromium.org,jsbell@chromium.org,sky@chromium.org,dmurph@chromium.org NOTREECHECKS=true NOTRY=true BUG=419287 Review URL: https://codereview.chromium.org/654323003 Cr-Commit-Position: refs/heads/master@{#300251}
Diffstat (limited to 'content/browser/storage_partition_impl.cc')
-rw-r--r--content/browser/storage_partition_impl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
index 1e26255..531e638 100644
--- a/content/browser/storage_partition_impl.cc
+++ b/content/browser/storage_partition_impl.cc
@@ -233,8 +233,7 @@ int StoragePartitionImpl::GenerateQuotaClientMask(uint32 remove_mask) {
quota_client_mask |= storage::QuotaClient::kAppcache;
if (remove_mask & StoragePartition::REMOVE_DATA_MASK_INDEXEDDB)
quota_client_mask |= storage::QuotaClient::kIndexedDatabase;
- if (remove_mask & StoragePartition::REMOVE_DATA_MASK_SERVICE_WORKERS)
- quota_client_mask |= storage::QuotaClient::kServiceWorker;
+ // TODO(jsbell): StoragePartition::REMOVE_DATA_MASK_SERVICE_WORKERS)
return quota_client_mask;
}