OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_ |
6 #define CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/memory/scoped_ptr.h" | |
15 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
16 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
17 #include "content/browser/worker_host/worker_process_host.h" | 16 #include "content/browser/worker_host/worker_process_host.h" |
18 | 17 |
19 namespace content { | 18 namespace content { |
20 | 19 |
21 class DevToolsAgentHost; | 20 class DevToolsAgentHost; |
22 | 21 |
23 // All methods are supposed to be called on the IO thread. | 22 // All methods are supposed to be called on the IO thread. |
24 class WorkerDevToolsManager { | 23 class WorkerDevToolsManager { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // worker. | 101 // worker. |
103 // - Existing DevTools client was reattached to the new worker. | 102 // - Existing DevTools client was reattached to the new worker. |
104 PausedWorkers paused_workers_; | 103 PausedWorkers paused_workers_; |
105 | 104 |
106 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsManager); | 105 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsManager); |
107 }; | 106 }; |
108 | 107 |
109 } // namespace content | 108 } // namespace content |
110 | 109 |
111 #endif // CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_ | 110 #endif // CONTENT_BROWSER_DEBUGGER_WORKER_DEVTOOLS_MANAGER_H_ |
OLD | NEW |