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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/id_map.h" | 13 #include "base/id_map.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "content/browser/service_worker/embedded_worker_instance.h" | 16 #include "content/browser/service_worker/embedded_worker_instance.h" |
17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
18 #include "content/common/service_worker/service_worker_status_code.h" | |
19 #include "content/common/service_worker/service_worker_types.h" | 18 #include "content/common/service_worker/service_worker_types.h" |
| 19 #include "content/public/common/service_worker_status_code.h" |
20 | 20 |
21 class GURL; | 21 class GURL; |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 | 24 |
25 class EmbeddedWorkerRegistry; | 25 class EmbeddedWorkerRegistry; |
26 class ServiceWorkerRegistration; | 26 class ServiceWorkerRegistration; |
27 class ServiceWorkerVersionInfo; | 27 class ServiceWorkerVersionInfo; |
28 | 28 |
29 // This class corresponds to a specific version of a ServiceWorker | 29 // This class corresponds to a specific version of a ServiceWorker |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 IDMap<MessageCallback, IDMapOwnPointer> message_callbacks_; | 187 IDMap<MessageCallback, IDMapOwnPointer> message_callbacks_; |
188 | 188 |
189 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; | 189 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; |
190 | 190 |
191 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); | 191 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); |
192 }; | 192 }; |
193 | 193 |
194 } // namespace content | 194 } // namespace content |
195 | 195 |
196 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 196 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
OLD | NEW |