| 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/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 13 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 14 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 15 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
| 16 #include "content/public/browser/worker_service.h" | 17 #include "content/public/browser/worker_service.h" |
| 17 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" | 18 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" |
| 18 | 19 |
| 19 struct ViewHostMsg_CreateWorker_Params; | 20 struct ViewHostMsg_CreateWorker_Params; |
| 20 | 21 |
| 21 namespace IPC { | 22 namespace IPC { |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 int next_pending_instance_id_; | 169 int next_pending_instance_id_; |
| 169 | 170 |
| 170 base::ObserverList<WorkerServiceObserver> observers_; | 171 base::ObserverList<WorkerServiceObserver> observers_; |
| 171 | 172 |
| 172 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); | 173 DISALLOW_COPY_AND_ASSIGN(SharedWorkerServiceImpl); |
| 173 }; | 174 }; |
| 174 | 175 |
| 175 } // namespace content | 176 } // namespace content |
| 176 | 177 |
| 177 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ | 178 #endif // CONTENT_BROWSER_SHARED_WORKER_SHARED_WORKER_SERVICE_IMPL_H_ |
| OLD | NEW |