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_PROVIDER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "webkit/common/resource_type.h" | 13 #include "webkit/common/resource_type.h" |
14 | 14 |
15 namespace ipc { | 15 namespace IPC { |
16 class Sender; | 16 class Sender; |
17 } | 17 } |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class ServiceWorkerContextCore; | 21 class ServiceWorkerContextCore; |
22 class ServiceWorkerDispatcherHost; | 22 class ServiceWorkerDispatcherHost; |
23 class ServiceWorkerVersion; | 23 class ServiceWorkerVersion; |
24 | 24 |
25 // This class is the browser-process representation of a serice worker | 25 // This class is the browser-process representation of a serice worker |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 scoped_refptr<ServiceWorkerVersion> hosted_version_; | 93 scoped_refptr<ServiceWorkerVersion> hosted_version_; |
94 base::WeakPtr<ServiceWorkerContextCore> context_; | 94 base::WeakPtr<ServiceWorkerContextCore> context_; |
95 ServiceWorkerDispatcherHost* dispatcher_host_; | 95 ServiceWorkerDispatcherHost* dispatcher_host_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); | 97 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace content | 100 } // namespace content |
101 | 101 |
102 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ | 102 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ |
OLD | NEW |