| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010, Google Inc. All rights reserved. | 2 * Copyright (c) 2010, 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 20 matching lines...) Expand all Loading... |
| 31 #ifndef V8InspectorImpl_h | 31 #ifndef V8InspectorImpl_h |
| 32 #define V8InspectorImpl_h | 32 #define V8InspectorImpl_h |
| 33 | 33 |
| 34 #include "platform/inspector_protocol/InspectorProtocol.h" | 34 #include "platform/inspector_protocol/InspectorProtocol.h" |
| 35 #include "platform/v8_inspector/public/V8Inspector.h" | 35 #include "platform/v8_inspector/public/V8Inspector.h" |
| 36 | 36 |
| 37 #include <v8-debug.h> | 37 #include <v8-debug.h> |
| 38 #include <v8.h> | 38 #include <v8.h> |
| 39 #include <vector> | 39 #include <vector> |
| 40 | 40 |
| 41 namespace blink { | 41 namespace v8_inspector { |
| 42 | 42 |
| 43 class InspectedContext; | 43 class InspectedContext; |
| 44 class V8ConsoleMessageStorage; | 44 class V8ConsoleMessageStorage; |
| 45 class V8Debugger; | 45 class V8Debugger; |
| 46 class V8DebuggerAgentImpl; | 46 class V8DebuggerAgentImpl; |
| 47 class V8InspectorSessionImpl; | 47 class V8InspectorSessionImpl; |
| 48 class V8RuntimeAgentImpl; | 48 class V8RuntimeAgentImpl; |
| 49 class V8StackTraceImpl; | 49 class V8StackTraceImpl; |
| 50 | 50 |
| 51 namespace protocol = blink::protocol; |
| 52 |
| 51 class V8InspectorImpl : public V8Inspector { | 53 class V8InspectorImpl : public V8Inspector { |
| 52 PROTOCOL_DISALLOW_COPY(V8InspectorImpl); | 54 PROTOCOL_DISALLOW_COPY(V8InspectorImpl); |
| 53 public: | 55 public: |
| 54 V8InspectorImpl(v8::Isolate*, V8InspectorClient*); | 56 V8InspectorImpl(v8::Isolate*, V8InspectorClient*); |
| 55 ~V8InspectorImpl() override; | 57 ~V8InspectorImpl() override; |
| 56 | 58 |
| 57 v8::Isolate* isolate() const { return m_isolate; } | 59 v8::Isolate* isolate() const { return m_isolate; } |
| 58 V8InspectorClient* client() { return m_client; } | 60 V8InspectorClient* client() { return m_client; } |
| 59 V8Debugger* debugger() { return m_debugger.get(); } | 61 V8Debugger* debugger() { return m_debugger.get(); } |
| 60 | 62 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 using ContextsByGroupMap = protocol::HashMap<int, std::unique_ptr<ContextByI
dMap>>; | 113 using ContextsByGroupMap = protocol::HashMap<int, std::unique_ptr<ContextByI
dMap>>; |
| 112 ContextsByGroupMap m_contexts; | 114 ContextsByGroupMap m_contexts; |
| 113 | 115 |
| 114 using SessionMap = protocol::HashMap<int, V8InspectorSessionImpl*>; | 116 using SessionMap = protocol::HashMap<int, V8InspectorSessionImpl*>; |
| 115 SessionMap m_sessions; | 117 SessionMap m_sessions; |
| 116 | 118 |
| 117 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; | 119 using ConsoleStorageMap = protocol::HashMap<int, std::unique_ptr<V8ConsoleMe
ssageStorage>>; |
| 118 ConsoleStorageMap m_consoleStorageMap; | 120 ConsoleStorageMap m_consoleStorageMap; |
| 119 }; | 121 }; |
| 120 | 122 |
| 121 } // namespace blink | 123 } // namespace v8_inspector |
| 122 | 124 |
| 123 | 125 |
| 124 #endif // V8InspectorImpl_h | 126 #endif // V8InspectorImpl_h |
| OLD | NEW |