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_CONTEXT_CORE_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
| 9 #include <vector> |
9 | 10 |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
12 #include "base/id_map.h" | 13 #include "base/id_map.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "content/browser/service_worker/service_worker_info.h" |
15 #include "content/browser/service_worker/service_worker_provider_host.h" | 17 #include "content/browser/service_worker/service_worker_provider_host.h" |
16 #include "content/browser/service_worker/service_worker_registration_status.h" | 18 #include "content/browser/service_worker/service_worker_registration_status.h" |
17 #include "content/browser/service_worker/service_worker_storage.h" | 19 #include "content/browser/service_worker/service_worker_storage.h" |
18 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
19 | 21 |
20 class GURL; | 22 class GURL; |
21 | 23 |
22 namespace base { | 24 namespace base { |
23 class FilePath; | 25 class FilePath; |
24 } | 26 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 scoped_ptr<ServiceWorkerStorage> storage_; | 105 scoped_ptr<ServiceWorkerStorage> storage_; |
104 scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_; | 106 scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_; |
105 scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_; | 107 scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_; |
106 | 108 |
107 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore); | 109 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore); |
108 }; | 110 }; |
109 | 111 |
110 } // namespace content | 112 } // namespace content |
111 | 113 |
112 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ | 114 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CORE_H_ |
OLD | NEW |