| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, | 292 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, |
| 293 UpdateBefore24Hours); | 293 UpdateBefore24Hours); |
| 294 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, | 294 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, |
| 295 UpdateAfter24Hours); | 295 UpdateAfter24Hours); |
| 296 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, | 296 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, |
| 297 UpdateForceBypassCache); | 297 UpdateForceBypassCache); |
| 298 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, | 298 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, |
| 299 ServiceWorkerDataRequestAnnotation); | 299 ServiceWorkerDataRequestAnnotation); |
| 300 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, | 300 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, |
| 301 SkipServiceWorkerForServiceWorkerRequest); | 301 SkipServiceWorkerForServiceWorkerRequest); |
| 302 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, |
| 303 DropPrefetch); |
| 302 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostTestP, ContextSecurity); | 304 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostTestP, ContextSecurity); |
| 303 | 305 |
| 304 struct OneShotGetReadyCallback { | 306 struct OneShotGetReadyCallback { |
| 305 GetRegistrationForReadyCallback callback; | 307 GetRegistrationForReadyCallback callback; |
| 306 bool called; | 308 bool called; |
| 307 | 309 |
| 308 explicit OneShotGetReadyCallback( | 310 explicit OneShotGetReadyCallback( |
| 309 const GetRegistrationForReadyCallback& callback); | 311 const GetRegistrationForReadyCallback& callback); |
| 310 ~OneShotGetReadyCallback(); | 312 ~OneShotGetReadyCallback(); |
| 311 }; | 313 }; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 bool controller_was_deleted_; | 396 bool controller_was_deleted_; |
| 395 | 397 |
| 396 std::vector<base::Closure> queued_events_; | 398 std::vector<base::Closure> queued_events_; |
| 397 | 399 |
| 398 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); | 400 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); |
| 399 }; | 401 }; |
| 400 | 402 |
| 401 } // namespace content | 403 } // namespace content |
| 402 | 404 |
| 403 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | 405 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
| OLD | NEW |