| 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_STORAGE_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 friend class ServiceWorkerControlleeRequestHandlerTest; | 230 friend class ServiceWorkerControlleeRequestHandlerTest; |
| 231 friend class ServiceWorkerContextRequestHandlerTest; | 231 friend class ServiceWorkerContextRequestHandlerTest; |
| 232 friend class ServiceWorkerReadFromCacheJobTest; | 232 friend class ServiceWorkerReadFromCacheJobTest; |
| 233 friend class ServiceWorkerRequestHandlerTest; | 233 friend class ServiceWorkerRequestHandlerTest; |
| 234 friend class ServiceWorkerURLRequestJobTest; | 234 friend class ServiceWorkerURLRequestJobTest; |
| 235 friend class ServiceWorkerVersionBrowserTest; | 235 friend class ServiceWorkerVersionBrowserTest; |
| 236 friend class ServiceWorkerVersionTest; | 236 friend class ServiceWorkerVersionTest; |
| 237 friend class ServiceWorkerWriteToCacheJobTest; | 237 friend class ServiceWorkerWriteToCacheJobTest; |
| 238 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTest, | 238 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTest, |
| 239 CleanupOnRendererCrash); | 239 CleanupOnRendererCrash); |
| 240 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTest, |
| 241 DispatchExtendableMessageEvent); |
| 242 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerDispatcherHostTest, |
| 243 DispatchExtendableMessageEvent_Fail); |
| 240 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, | 244 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, |
| 241 DeleteRegistration_NoLiveVersion); | 245 DeleteRegistration_NoLiveVersion); |
| 242 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, | 246 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, |
| 243 DeleteRegistration_WaitingVersion); | 247 DeleteRegistration_WaitingVersion); |
| 244 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, | 248 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, |
| 245 DeleteRegistration_ActiveVersion); | 249 DeleteRegistration_ActiveVersion); |
| 246 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, | 250 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageTest, |
| 247 UpdateRegistration); | 251 UpdateRegistration); |
| 248 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageDiskTest, | 252 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerResourceStorageDiskTest, |
| 249 CleanupOnRestart); | 253 CleanupOnRestart); |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 std::set<int64_t> pending_deletions_; | 546 std::set<int64_t> pending_deletions_; |
| 543 | 547 |
| 544 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_; | 548 base::WeakPtrFactory<ServiceWorkerStorage> weak_factory_; |
| 545 | 549 |
| 546 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage); | 550 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerStorage); |
| 547 }; | 551 }; |
| 548 | 552 |
| 549 } // namespace content | 553 } // namespace content |
| 550 | 554 |
| 551 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ | 555 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_STORAGE_H_ |
| OLD | NEW |