Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheError.h

Issue 1636613002: [CacheStorage] Check quota before put operations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set quota per origin and fix order of operations error Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebServiceWorkerCacheError_h 5 #ifndef WebServiceWorkerCacheError_h
6 #define WebServiceWorkerCacheError_h 6 #define WebServiceWorkerCacheError_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 enum WebServiceWorkerCacheError { 10 enum WebServiceWorkerCacheError {
11 WebServiceWorkerCacheErrorNotImplemented, 11 WebServiceWorkerCacheErrorNotImplemented,
12 WebServiceWorkerCacheErrorNotFound, 12 WebServiceWorkerCacheErrorNotFound,
13 WebServiceWorkerCacheErrorExists, 13 WebServiceWorkerCacheErrorExists,
14 WebServiceWorkerCacheErrorQuotaExceeded,
14 WebServiceWorkerCacheErrorLast = WebServiceWorkerCacheErrorExists 15 WebServiceWorkerCacheErrorLast = WebServiceWorkerCacheErrorExists
15 }; 16 };
16 17
17 } // namespace blink 18 } // namespace blink
18 19
19 #endif // WebServiceWorkerCacheError_h 20 #endif // WebServiceWorkerCacheError_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/cachestorage/CacheStorageError.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698