| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
| 31 #include "wtf/Noncopyable.h" | 31 #include "wtf/Noncopyable.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 class ConsoleMessage; | 35 class ConsoleMessage; |
| 36 class ConsoleMessageStorage; | 36 class ConsoleMessageStorage; |
| 37 class V8DebuggerAgent; | 37 class V8DebuggerAgent; |
| 38 class V8RuntimeAgent; | 38 class V8RuntimeAgent; |
| 39 | 39 |
| 40 typedef String ErrorString; | |
| 41 | |
| 42 class CORE_EXPORT InspectorConsoleAgent : public InspectorBaseAgent<InspectorCon
soleAgent, protocol::Frontend::Console>, public protocol::Dispatcher::ConsoleCom
mandHandler { | 40 class CORE_EXPORT InspectorConsoleAgent : public InspectorBaseAgent<InspectorCon
soleAgent, protocol::Frontend::Console>, public protocol::Dispatcher::ConsoleCom
mandHandler { |
| 43 WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent); | 41 WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent); |
| 44 public: | 42 public: |
| 45 explicit InspectorConsoleAgent(V8RuntimeAgent*); | 43 explicit InspectorConsoleAgent(V8RuntimeAgent*); |
| 46 ~InspectorConsoleAgent() override; | 44 ~InspectorConsoleAgent() override; |
| 47 | 45 |
| 48 void setDebuggerAgent(V8DebuggerAgent* debuggerAgent) { m_debuggerAgent = de
buggerAgent; } | 46 void setDebuggerAgent(V8DebuggerAgent* debuggerAgent) { m_debuggerAgent = de
buggerAgent; } |
| 49 | 47 |
| 50 void enable(ErrorString*) override; | 48 void enable(ErrorString*) override; |
| 51 bool enabled() { return m_enabled; } | 49 bool enabled() { return m_enabled; } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 66 | 64 |
| 67 V8RuntimeAgent* m_runtimeAgent; | 65 V8RuntimeAgent* m_runtimeAgent; |
| 68 V8DebuggerAgent* m_debuggerAgent; | 66 V8DebuggerAgent* m_debuggerAgent; |
| 69 bool m_enabled; | 67 bool m_enabled; |
| 70 }; | 68 }; |
| 71 | 69 |
| 72 } // namespace blink | 70 } // namespace blink |
| 73 | 71 |
| 74 | 72 |
| 75 #endif // !defined(InspectorConsoleAgent_h) | 73 #endif // !defined(InspectorConsoleAgent_h) |
| OLD | NEW |