Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: content/browser/cache_storage/

Issue 1636613002: [CacheStorage] Check quota before put operations (Closed) Base URL:
Patch Set: Set quota per origin and fix order of operations error Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/cache_storage/
diff --git a/content/browser/cache_storage/ b/content/browser/cache_storage/
index 073f57d80272b7c5f1aba82b17bf846d51b5515b..d0d52072d83259015d7834534d4bdd8d1a771833 100644
--- a/content/browser/cache_storage/
+++ b/content/browser/cache_storage/
@@ -43,6 +43,8 @@ blink::WebServiceWorkerCacheError ToWebServiceWorkerCacheError(
return blink::WebServiceWorkerCacheErrorNotFound;
return blink::WebServiceWorkerCacheErrorNotFound;
+ return blink::WebServiceWorkerCacheErrorQuotaExceeded;
return blink::WebServiceWorkerCacheErrorNotImplemented;

Powered by Google App Engine
This is Rietveld 408576698