OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_RESPONSE_TYPE_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_RESPONSE_TYPE_H_ |
| 7 |
| 8 namespace content { |
| 9 |
| 10 // Response handling type, used in URL {request,loader} jobs. |
| 11 enum ServiceWorkerResponseType { |
| 12 NOT_DETERMINED, |
| 13 FAIL_DUE_TO_LOST_CONTROLLER, |
| 14 FALLBACK_TO_NETWORK, |
| 15 FALLBACK_TO_RENDERER, // Use this when falling back with CORS check |
| 16 FORWARD_TO_SERVICE_WORKER |
| 17 }; |
| 18 |
| 19 } // namespace content |
| 20 |
| 21 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_RESPONSE_TYPE_H_ |
OLD | NEW |