| 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 CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ | 5 #ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |
| 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ | 6 #define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 }; | 276 }; |
| 277 | 277 |
| 278 struct CONTENT_EXPORT NavigationPreloadState { | 278 struct CONTENT_EXPORT NavigationPreloadState { |
| 279 NavigationPreloadState(); | 279 NavigationPreloadState(); |
| 280 NavigationPreloadState(bool enabled, std::string header); | 280 NavigationPreloadState(bool enabled, std::string header); |
| 281 NavigationPreloadState(const NavigationPreloadState& other); | 281 NavigationPreloadState(const NavigationPreloadState& other); |
| 282 bool enabled; | 282 bool enabled; |
| 283 std::string header; | 283 std::string header; |
| 284 }; | 284 }; |
| 285 | 285 |
| 286 struct ResourceRequest; |
| 287 using NetworkFallbackCallback = |
| 288 base::Callback<void(std::unique_ptr<ResourceRequest>)>; |
| 289 |
| 286 } // namespace content | 290 } // namespace content |
| 287 | 291 |
| 288 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ | 292 #endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_ |
| OLD | NEW |