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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WorkerDebuggerAgent); | 43 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WorkerDebuggerAgent); |
44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerDebuggerAgent); | 44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerDebuggerAgent); |
45 public: | 45 public: |
46 static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerThreadDebugg
er*, WorkerGlobalScope*, InjectedScriptManager*); | 46 static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerThreadDebugg
er*, WorkerGlobalScope*, InjectedScriptManager*); |
47 ~WorkerDebuggerAgent() override; | 47 ~WorkerDebuggerAgent() override; |
48 DECLARE_VIRTUAL_TRACE(); | 48 DECLARE_VIRTUAL_TRACE(); |
49 | 49 |
50 private: | 50 private: |
51 WorkerDebuggerAgent(WorkerThreadDebugger*, WorkerGlobalScope*, InjectedScrip
tManager*); | 51 WorkerDebuggerAgent(WorkerThreadDebugger*, WorkerGlobalScope*, InjectedScrip
tManager*); |
52 | 52 |
| 53 // V8DebuggerAgent::Client implemntation. |
53 void startListeningV8Debugger() override; | 54 void startListeningV8Debugger() override; |
54 void stopListeningV8Debugger() override; | 55 void stopListeningV8Debugger() override; |
55 InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte
xtId) override; | 56 InjectedScript defaultInjectedScript() override; |
56 void muteConsole() override; | 57 void muteConsole() override; |
57 void unmuteConsole() override; | 58 void unmuteConsole() override; |
58 | 59 |
59 WorkerThreadDebugger* m_workerThreadDebugger; | 60 WorkerThreadDebugger* m_workerThreadDebugger; |
60 RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope; | 61 RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope; |
61 }; | 62 }; |
62 | 63 |
63 } // namespace blink | 64 } // namespace blink |
64 | 65 |
65 #endif // !defined(WorkerDebuggerAgent_h) | 66 #endif // !defined(WorkerDebuggerAgent_h) |
OLD | NEW |