OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/inspector/V8Console.h" | 5 #include "src/inspector/v8-console.h" |
6 | 6 |
7 #include "src/base/macros.h" | 7 #include "src/base/macros.h" |
8 #include "src/inspector/InjectedScript.h" | 8 #include "src/inspector/injected-script.h" |
9 #include "src/inspector/InspectedContext.h" | 9 #include "src/inspector/inspected-context.h" |
10 #include "src/inspector/StringUtil.h" | 10 #include "src/inspector/string-util.h" |
11 #include "src/inspector/V8ConsoleMessage.h" | 11 #include "src/inspector/v8-console-message.h" |
12 #include "src/inspector/V8DebuggerAgentImpl.h" | 12 #include "src/inspector/v8-debugger-agent-impl.h" |
13 #include "src/inspector/V8InspectorImpl.h" | 13 #include "src/inspector/v8-inspector-impl.h" |
14 #include "src/inspector/V8InspectorSessionImpl.h" | 14 #include "src/inspector/v8-inspector-session-impl.h" |
15 #include "src/inspector/V8ProfilerAgentImpl.h" | 15 #include "src/inspector/v8-profiler-agent-impl.h" |
16 #include "src/inspector/V8RuntimeAgentImpl.h" | 16 #include "src/inspector/v8-runtime-agent-impl.h" |
17 #include "src/inspector/V8StackTraceImpl.h" | 17 #include "src/inspector/v8-stack-trace-impl.h" |
18 #include "src/inspector/V8ValueCopier.h" | 18 #include "src/inspector/v8-value-copier.h" |
19 | 19 |
20 #include "include/v8-inspector.h" | 20 #include "include/v8-inspector.h" |
21 | 21 |
22 namespace v8_inspector { | 22 namespace v8_inspector { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 v8::Local<v8::Private> inspectedContextPrivateKey(v8::Isolate* isolate) { | 26 v8::Local<v8::Private> inspectedContextPrivateKey(v8::Isolate* isolate) { |
27 return v8::Private::ForApi( | 27 return v8::Private::ForApi( |
28 isolate, toV8StringInternalized(isolate, "V8Console#InspectedContext")); | 28 isolate, toV8StringInternalized(isolate, "V8Console#InspectedContext")); |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 ->GetOwnPropertyDescriptor( | 908 ->GetOwnPropertyDescriptor( |
909 m_context, v8::Local<v8::String>::Cast(name)) | 909 m_context, v8::Local<v8::String>::Cast(name)) |
910 .ToLocal(&descriptor); | 910 .ToLocal(&descriptor); |
911 DCHECK(success); | 911 DCHECK(success); |
912 USE(success); | 912 USE(success); |
913 } | 913 } |
914 } | 914 } |
915 } | 915 } |
916 | 916 |
917 } // namespace v8_inspector | 917 } // namespace v8_inspector |
OLD | NEW |