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

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

Issue 1150413004: CacheStorage: Pass an error object allocated on heap to WebCallbacks::onError (4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cache_error_2
Patch Set: rebase 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 | « no previous file | 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
12 namespace blink { 8 namespace blink {
13 9
14 enum WebServiceWorkerCacheError { 10 enum WebServiceWorkerCacheError {
15 WebServiceWorkerCacheErrorNotImplemented, 11 WebServiceWorkerCacheErrorNotImplemented,
16 WebServiceWorkerCacheErrorNotFound, 12 WebServiceWorkerCacheErrorNotFound,
17 WebServiceWorkerCacheErrorExists, 13 WebServiceWorkerCacheErrorExists,
18 WebServiceWorkerCacheErrorLast = WebServiceWorkerCacheErrorExists 14 WebServiceWorkerCacheErrorLast = WebServiceWorkerCacheErrorExists
19 }; 15 };
20 16
21 } // namespace blink 17 } // namespace blink
22 18
23 #endif // WebServiceWorkerCacheError_h 19 #endif // WebServiceWorkerCacheError_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698