| 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_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "content/child/scoped_child_process_reference.h" | 15 #include "content/child/scoped_child_process_reference.h" |
| 16 #include "content/public/common/console_message_level.h" | 16 #include "content/public/common/console_message_level.h" |
| 17 #include "ipc/ipc_listener.h" | 17 #include "ipc/ipc_listener.h" |
| 18 | 18 |
| 19 class GURL; | |
| 20 | |
| 21 namespace blink { | 19 namespace blink { |
| 22 | 20 |
| 23 class WebEmbeddedWorker; | 21 class WebEmbeddedWorker; |
| 24 | 22 |
| 25 } // namespace blink | 23 } // namespace blink |
| 26 | 24 |
| 27 namespace content { | 25 namespace content { |
| 28 | 26 |
| 29 class EmbeddedWorkerDevToolsAgent; | 27 class EmbeddedWorkerDevToolsAgent; |
| 30 class ServiceWorkerContextClient; | 28 class ServiceWorkerContextClient; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 IDMap<WorkerWrapper, IDMapOwnPointer> workers_; | 80 IDMap<WorkerWrapper, IDMapOwnPointer> workers_; |
| 83 std::map<int /* embedded_worker_id */, base::TimeTicks> stop_worker_times_; | 81 std::map<int /* embedded_worker_id */, base::TimeTicks> stop_worker_times_; |
| 84 base::WeakPtrFactory<EmbeddedWorkerDispatcher> weak_factory_; | 82 base::WeakPtrFactory<EmbeddedWorkerDispatcher> weak_factory_; |
| 85 | 83 |
| 86 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDispatcher); | 84 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDispatcher); |
| 87 }; | 85 }; |
| 88 | 86 |
| 89 } // namespace content | 87 } // namespace content |
| 90 | 88 |
| 91 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ | 89 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DISPATCHER_H_ |
| OLD | NEW |