OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 Google Inc. All rights reserved. | 2 * Copyright (c) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WorkerThreadDebugger_h | 31 #ifndef WorkerThreadDebugger_h |
32 #define WorkerThreadDebugger_h | 32 #define WorkerThreadDebugger_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/inspector/ThreadDebugger.h" | 35 #include "core/inspector/ThreadDebugger.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class ConsoleMessage; | |
40 class ErrorEvent; | 39 class ErrorEvent; |
41 class SourceLocation; | 40 class SourceLocation; |
42 class WorkerThread; | 41 class WorkerThread; |
43 | 42 |
44 class CORE_EXPORT WorkerThreadDebugger final : public ThreadDebugger { | 43 class CORE_EXPORT WorkerThreadDebugger final : public ThreadDebugger { |
45 WTF_MAKE_NONCOPYABLE(WorkerThreadDebugger); | 44 WTF_MAKE_NONCOPYABLE(WorkerThreadDebugger); |
46 | 45 |
47 public: | 46 public: |
48 explicit WorkerThreadDebugger(v8::Isolate*); | 47 explicit WorkerThreadDebugger(v8::Isolate*); |
49 ~WorkerThreadDebugger() override; | 48 ~WorkerThreadDebugger() override; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 unsigned columnNumber, | 84 unsigned columnNumber, |
86 v8_inspector::V8StackTrace*) override; | 85 v8_inspector::V8StackTrace*) override; |
87 | 86 |
88 int m_pausedContextGroupId; | 87 int m_pausedContextGroupId; |
89 WTF::HashMap<int, WorkerThread*> m_workerThreads; | 88 WTF::HashMap<int, WorkerThread*> m_workerThreads; |
90 }; | 89 }; |
91 | 90 |
92 } // namespace blink | 91 } // namespace blink |
93 | 92 |
94 #endif // WorkerThreadDebugger_h | 93 #endif // WorkerThreadDebugger_h |
OLD | NEW |