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 #ifndef V8_INSPECTOR_INSPECTEDCONTEXT_H_ | 5 #ifndef V8_INSPECTOR_INSPECTEDCONTEXT_H_ |
6 #define V8_INSPECTOR_INSPECTEDCONTEXT_H_ | 6 #define V8_INSPECTOR_INSPECTEDCONTEXT_H_ |
7 | 7 |
8 #include "src/base/macros.h" | 8 #include "src/base/macros.h" |
9 #include "src/inspector/string-16.h" | 9 #include "src/inspector/string-16.h" |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 V8InspectorImpl* m_inspector; | 47 V8InspectorImpl* m_inspector; |
48 v8::Global<v8::Context> m_context; | 48 v8::Global<v8::Context> m_context; |
49 int m_contextId; | 49 int m_contextId; |
50 int m_contextGroupId; | 50 int m_contextGroupId; |
51 const String16 m_origin; | 51 const String16 m_origin; |
52 const String16 m_humanReadableName; | 52 const String16 m_humanReadableName; |
53 const String16 m_auxData; | 53 const String16 m_auxData; |
54 bool m_reported; | 54 bool m_reported; |
55 std::unique_ptr<InjectedScript> m_injectedScript; | 55 std::unique_ptr<InjectedScript> m_injectedScript; |
| 56 v8::Global<v8::Object> m_console; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(InspectedContext); | 58 DISALLOW_COPY_AND_ASSIGN(InspectedContext); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace v8_inspector | 61 } // namespace v8_inspector |
61 | 62 |
62 #endif // V8_INSPECTOR_INSPECTEDCONTEXT_H_ | 63 #endif // V8_INSPECTOR_INSPECTEDCONTEXT_H_ |
OLD | NEW |