| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugS
erver*, WorkerGlobalScope*, InjectedScriptManager*); | 47 static PassOwnPtrWillBeRawPtr<WorkerDebuggerAgent> create(WorkerScriptDebugS
erver*, WorkerGlobalScope*, InjectedScriptManager*); |
| 48 ~WorkerDebuggerAgent() override; | 48 ~WorkerDebuggerAgent() override; |
| 49 DECLARE_VIRTUAL_TRACE(); | 49 DECLARE_VIRTUAL_TRACE(); |
| 50 | 50 |
| 51 void interruptAndDispatchInspectorCommands(); | 51 void interruptAndDispatchInspectorCommands(); |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 | 54 |
| 55 WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedSc
riptManager*); | 55 WorkerDebuggerAgent(WorkerScriptDebugServer*, WorkerGlobalScope*, InjectedSc
riptManager*); |
| 56 | 56 |
| 57 void startListeningScriptDebugServer() override; | 57 bool startListeningScriptDebugServer() override; |
| 58 void stopListeningScriptDebugServer() override; | 58 void stopListeningScriptDebugServer() override; |
| 59 WorkerScriptDebugServer& scriptDebugServer() override; | 59 WorkerScriptDebugServer& scriptDebugServer() override; |
| 60 InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte
xtId) override; | 60 InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte
xtId) override; |
| 61 void muteConsole() override; | 61 void muteConsole() override; |
| 62 void unmuteConsole() override; | 62 void unmuteConsole() override; |
| 63 | 63 |
| 64 WorkerScriptDebugServer* m_scriptDebugServer; | 64 WorkerScriptDebugServer* m_scriptDebugServer; |
| 65 RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope; | 65 RawPtrWillBeMember<WorkerGlobalScope> m_inspectedWorkerGlobalScope; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace blink | 68 } // namespace blink |
| 69 | 69 |
| 70 #endif // !defined(WorkerDebuggerAgent_h) | 70 #endif // !defined(WorkerDebuggerAgent_h) |
| OLD | NEW |