| OLD | NEW |
| 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 WebServiceWorkerResponseType_h | 5 #ifndef WebServiceWorkerResponseType_h |
| 6 #define WebServiceWorkerResponseType_h | 6 #define WebServiceWorkerResponseType_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 // FIXME: This header is temporarily kept around not to break builds, but |
| 11 // should be removed once chromium-side change is landed. |
| 12 // If you make changes in this file please make sure you have the same changes |
| 13 // in public/platform/modules/serviceworker/WebServiceWorkerResponseType.h |
| 14 // until then. |
| 10 enum WebServiceWorkerResponseType { | 15 enum WebServiceWorkerResponseType { |
| 11 WebServiceWorkerResponseTypeBasic, | 16 WebServiceWorkerResponseTypeBasic, |
| 12 WebServiceWorkerResponseTypeCORS, | 17 WebServiceWorkerResponseTypeCORS, |
| 13 WebServiceWorkerResponseTypeDefault, | 18 WebServiceWorkerResponseTypeDefault, |
| 14 WebServiceWorkerResponseTypeError, | 19 WebServiceWorkerResponseTypeError, |
| 15 WebServiceWorkerResponseTypeOpaque, | 20 WebServiceWorkerResponseTypeOpaque, |
| 16 WebServiceWorkerResponseTypeOpaqueRedirect, | 21 WebServiceWorkerResponseTypeOpaqueRedirect, |
| 17 WebServiceWorkerResponseTypeLast = WebServiceWorkerResponseTypeOpaqueRedirec
t | 22 WebServiceWorkerResponseTypeLast = WebServiceWorkerResponseTypeOpaqueRedirec
t |
| 18 }; | 23 }; |
| 19 | 24 |
| 20 } // namespace blink | 25 } // namespace blink |
| 21 | 26 |
| 22 #endif // WebServiceWorkerResponseType_h | 27 #endif // WebServiceWorkerResponseType_h |
| OLD | NEW |