diff options
author | jkarlin <jkarlin@chromium.org> | 2014-10-24 05:57:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-24 12:58:12 +0000 |
commit | 6cb43f40df3f3cf12bcecb20d713d6f5a5c894d6 (patch) | |
tree | 89e32086b02ccaa99e6ed69b15b5c245822d1951 /base/sys_info_android.cc | |
parent | b03818a3791ae90d3cf7014de69bfe44f831d192 (diff) | |
download | chromium_src-6cb43f40df3f3cf12bcecb20d713d6f5a5c894d6.zip chromium_src-6cb43f40df3f3cf12bcecb20d713d6f5a5c894d6.tar.gz chromium_src-6cb43f40df3f3cf12bcecb20d713d6f5a5c894d6.tar.bz2 |
[ServiceWorkerCache] Call QuotaManager::NotifyStorageModified from Cache.
With this call the quota manager can delete origins modified in the last X hours.
Changes:
* Plumb origin and QuotaManagerProxy through to ServiceWorkerCache.
* Call NotifyStorageModified on SWCache::Put() and SWCache::Delete() with the delta being the number of content bytes written (not including caching structure overhead).
* Update the tests to use a MockQuotaManagerProxy instead of passing a nullptr.
Upstream of: https://codereview.chromium.org/672943002
BUG=420159
Review URL: https://codereview.chromium.org/674873002
Cr-Commit-Position: refs/heads/master@{#301086}
Diffstat (limited to 'base/sys_info_android.cc')
0 files changed, 0 insertions, 0 deletions