| 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 30 matching lines...) Expand all Loading... |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class DocumentLoader; | 43 class DocumentLoader; |
| 44 class InspectorPageAgent; | 44 class InspectorPageAgent; |
| 45 class MainThreadDebugger; | 45 class MainThreadDebugger; |
| 46 | 46 |
| 47 class CORE_EXPORT PageDebuggerAgent final | 47 class CORE_EXPORT PageDebuggerAgent final |
| 48 : public InspectorDebuggerAgent { | 48 : public InspectorDebuggerAgent { |
| 49 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); | 49 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); |
| 50 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PageDebuggerAgent); | 50 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(PageDebuggerAgent); |
| 51 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent); | |
| 52 public: | 51 public: |
| 53 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(MainThreadDebugger*,
InspectorPageAgent*, InjectedScriptManager*); | 52 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(MainThreadDebugger*,
InspectorPageAgent*, InjectedScriptManager*); |
| 54 ~PageDebuggerAgent() override; | 53 ~PageDebuggerAgent() override; |
| 55 DECLARE_VIRTUAL_TRACE(); | 54 DECLARE_VIRTUAL_TRACE(); |
| 56 | 55 |
| 57 void enable(ErrorString*) final; | 56 void enable(ErrorString*) final; |
| 58 void restore() final; | 57 void restore() final; |
| 59 void compileScript(ErrorString*, const String& expression, const String& sou
rceURL, bool persistScript, const int* executionContextId, TypeBuilder::OptOutpu
t<TypeBuilder::Debugger::ScriptId>*, RefPtr<TypeBuilder::Debugger::ExceptionDeta
ils>&) override; | 58 void compileScript(ErrorString*, const String& expression, const String& sou
rceURL, bool persistScript, const int* executionContextId, TypeBuilder::OptOutpu
t<TypeBuilder::Debugger::ScriptId>*, RefPtr<TypeBuilder::Debugger::ExceptionDeta
ils>&) override; |
| 60 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const i
nt* executionContextId, const String* objectGroup, const bool* doNotPauseOnExcep
tionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, RefPtr<
TypeBuilder::Debugger::ExceptionDetails>&) override; | 59 void runScript(ErrorString*, const TypeBuilder::Debugger::ScriptId&, const i
nt* executionContextId, const String* objectGroup, const bool* doNotPauseOnExcep
tionsAndMuteConsole, RefPtr<TypeBuilder::Runtime::RemoteObject>& result, RefPtr<
TypeBuilder::Debugger::ExceptionDetails>&) override; |
| 61 | 60 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 74 | 73 |
| 75 PageDebuggerAgent(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptMa
nager*); | 74 PageDebuggerAgent(MainThreadDebugger*, InspectorPageAgent*, InjectedScriptMa
nager*); |
| 76 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 75 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
| 77 HashMap<String, String> m_compiledScriptURLs; | 76 HashMap<String, String> m_compiledScriptURLs; |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 } // namespace blink | 79 } // namespace blink |
| 81 | 80 |
| 82 | 81 |
| 83 #endif // !defined(PageDebuggerAgent_h) | 82 #endif // !defined(PageDebuggerAgent_h) |
| OLD | NEW |