| 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_VERSION_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
| 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #ifdef SendMessage | 47 #ifdef SendMessage |
| 48 #undef SendMessage | 48 #undef SendMessage |
| 49 #endif | 49 #endif |
| 50 | 50 |
| 51 namespace net { | 51 namespace net { |
| 52 class HttpResponseInfo; | 52 class HttpResponseInfo; |
| 53 } | 53 } |
| 54 | 54 |
| 55 namespace content { | 55 namespace content { |
| 56 | 56 |
| 57 class EmbeddedWorkerRegistry; | |
| 58 class ServiceWorkerContextCore; | 57 class ServiceWorkerContextCore; |
| 59 class ServiceWorkerProviderHost; | 58 class ServiceWorkerProviderHost; |
| 60 class ServiceWorkerRegistration; | 59 class ServiceWorkerRegistration; |
| 61 class ServiceWorkerURLRequestJob; | 60 class ServiceWorkerURLRequestJob; |
| 62 struct ServiceWorkerClientInfo; | 61 struct ServiceWorkerClientInfo; |
| 63 struct ServiceWorkerVersionInfo; | 62 struct ServiceWorkerVersionInfo; |
| 64 | 63 |
| 65 // This class corresponds to a specific version of a ServiceWorker | 64 // This class corresponds to a specific version of a ServiceWorker |
| 66 // script for a given pattern. When a script is upgraded, there may be | 65 // script for a given pattern. When a script is upgraded, there may be |
| 67 // more than one ServiceWorkerVersion "running" at a time, but only | 66 // more than one ServiceWorkerVersion "running" at a time, but only |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 | 895 |
| 897 // At this point |this| can have been deleted, so don't do anything other | 896 // At this point |this| can have been deleted, so don't do anything other |
| 898 // than returning. | 897 // than returning. |
| 899 | 898 |
| 900 return true; | 899 return true; |
| 901 } | 900 } |
| 902 | 901 |
| 903 } // namespace content | 902 } // namespace content |
| 904 | 903 |
| 905 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 904 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
| OLD | NEW |