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_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ |
6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ | 6 #define CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/containers/scoped_ptr_hash_map.h" | 11 #include "base/containers/scoped_ptr_hash_map.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
14 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
15 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
17 #include "content/public/browser/worker_service.h" | 18 #include "content/public/browser/worker_service.h" |
18 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" | 19 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" |
19 | 20 |
20 struct ViewHostMsg_CreateWorker_Params; | 21 struct ViewHostMsg_CreateWorker_Params; |
21 | 22 |
22 namespace IPC { | 23 namespace IPC { |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 int next_pending_instance_id_; | 163 int next_pending_instance_id_; |
163 | 164 |
164 base::ObserverList<WorkerServiceObserver> observers_; | 165 base::ObserverList<WorkerServiceObserver> observers_; |
165 | 166 |
166 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); | 167 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); |
167 }; | 168 }; |
168 | 169 |
169 } // namespace content | 170 } // namespace content |
170 | 171 |
171 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ | 172 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ |
OLD | NEW |