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

Side by Side Diff: public/platform/WebServiceWorkerCacheError.h

Issue 1155573003: CacheStorage: Pass an error object allocated on heap to WebCallbacks::onError (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix unittests Created 5 years, 6 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
« no previous file with comments | « Source/modules/cachestorage/CacheTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // TODO(nhiroki): Remove after chromium-side patch is landed.
9 // http://crbug.com/494884
10 #define CRBUG_494884
11
8 namespace blink { 12 namespace blink {
9 13
10 enum WebServiceWorkerCacheError { 14 enum WebServiceWorkerCacheError {
11 WebServiceWorkerCacheErrorNotImplemented, 15 WebServiceWorkerCacheErrorNotImplemented,
12 WebServiceWorkerCacheErrorNotFound, 16 WebServiceWorkerCacheErrorNotFound,
13 WebServiceWorkerCacheErrorExists, 17 WebServiceWorkerCacheErrorExists,
14 WebServiceWorkerCacheErrorLast = WebServiceWorkerCacheErrorExists 18 WebServiceWorkerCacheErrorLast = WebServiceWorkerCacheErrorExists
15 }; 19 };
16 20
17 } // namespace blink 21 } // namespace blink
18 22
19 #endif // WebServiceWorkerCacheError_h 23 #endif // WebServiceWorkerCacheError_h
OLDNEW
« no previous file with comments | « Source/modules/cachestorage/CacheTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698