| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 friend class ServiceWorkerWriteToCacheJobTest; | 241 friend class ServiceWorkerWriteToCacheJobTest; |
| 242 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, Update_SameScript); | 242 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, Update_SameScript); |
| 243 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, | 243 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, |
| 244 Update_SameSizeScript); | 244 Update_SameSizeScript); |
| 245 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, | 245 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, |
| 246 Update_TruncatedScript); | 246 Update_TruncatedScript); |
| 247 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, | 247 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, |
| 248 Update_ElongatedScript); | 248 Update_ElongatedScript); |
| 249 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, | 249 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerWriteToCacheJobTest, |
| 250 Update_EmptyScript); | 250 Update_EmptyScript); |
| 251 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTest, |
| 252 DispatchExtendableMessageEvent); |
| 253 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTest, |
| 254 DispatchExtendableMessageEvent_Fail); |
| 251 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, | 255 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, |
| 252 UpdateBefore24Hours); | 256 UpdateBefore24Hours); |
| 253 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, | 257 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, |
| 254 UpdateAfter24Hours); | 258 UpdateAfter24Hours); |
| 255 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, | 259 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, |
| 256 UpdateForceBypassCache); | 260 UpdateForceBypassCache); |
| 257 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, | 261 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTest, |
| 258 ServiceWorkerDataRequestAnnotation); | 262 ServiceWorkerDataRequestAnnotation); |
| 259 | 263 |
| 260 struct OneShotGetReadyCallback { | 264 struct OneShotGetReadyCallback { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 bool allow_association_; | 329 bool allow_association_; |
| 326 | 330 |
| 327 std::vector<base::Closure> queued_events_; | 331 std::vector<base::Closure> queued_events_; |
| 328 | 332 |
| 329 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); | 333 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); |
| 330 }; | 334 }; |
| 331 | 335 |
| 332 } // namespace content | 336 } // namespace content |
| 333 | 337 |
| 334 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | 338 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
| OLD | NEW |