OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/id_map.h" | 12 #include "base/id_map.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "content/child/webmessageportchannel_impl.h" | 17 #include "content/child/webmessageportchannel_impl.h" |
18 #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_event_status.mojom.h" | 19 #include "content/public/common/service_worker_event_status.mojom.h" |
20 #include "ipc/ipc_listener.h" | 20 #include "ipc/ipc_listener.h" |
21 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 21 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
22 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" | 22 #include "third_party/WebKit/public/platform/WebGeofencingEventType.h" |
23 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" | 23 #include "third_party/WebKit/public/platform/WebMessagePortChannel.h" |
24 #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" | 24 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor
kerError.h" |
25 #include "third_party/WebKit/public/web/WebServiceWorkerContextClient.h" | 25 #include "third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerCo
ntextClient.h" |
26 #include "v8/include/v8.h" | 26 #include "v8/include/v8.h" |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class SingleThreadTaskRunner; | 29 class SingleThreadTaskRunner; |
30 class TaskRunner; | 30 class TaskRunner; |
31 } | 31 } |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 struct WebCircularGeofencingRegion; | 34 struct WebCircularGeofencingRegion; |
35 struct WebCrossOriginServiceWorkerClient; | 35 struct WebCrossOriginServiceWorkerClient; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // Initialized on the worker thread in workerContextStarted and | 232 // Initialized on the worker thread in workerContextStarted and |
233 // destructed on the worker thread in willDestroyWorkerContext. | 233 // destructed on the worker thread in willDestroyWorkerContext. |
234 scoped_ptr<WorkerContextData> context_; | 234 scoped_ptr<WorkerContextData> context_; |
235 | 235 |
236 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); | 236 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); |
237 }; | 237 }; |
238 | 238 |
239 } // namespace content | 239 } // namespace content |
240 | 240 |
241 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ | 241 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ |
OLD | NEW |