OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium 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 V8ContextInfo_h | 5 #ifndef V8ContextInfo_h |
6 #define V8ContextInfo_h | 6 #define V8ContextInfo_h |
7 | 7 |
8 #include "platform/inspector_protocol/Collections.h" | |
9 #include "platform/inspector_protocol/String16.h" | 8 #include "platform/inspector_protocol/String16.h" |
10 | 9 |
11 #include <v8.h> | 10 #include <v8.h> |
12 | 11 |
13 namespace blink { | 12 namespace blink { |
14 | 13 |
15 class V8ContextInfo { | 14 class V8ContextInfo { |
16 public: | 15 public: |
17 V8ContextInfo(v8::Local<v8::Context> context, int contextGroupId, bool isDef
ault, const String16& origin, const String16& humanReadableName, const String16&
frameId, bool hasMemoryOnConsole) | 16 V8ContextInfo(v8::Local<v8::Context> context, int contextGroupId, bool isDef
ault, const String16& origin, const String16& humanReadableName, const String16&
frameId, bool hasMemoryOnConsole) |
18 : context(context) | 17 : context(context) |
(...skipping 14 matching lines...) Expand all Loading... |
33 bool isDefault; | 32 bool isDefault; |
34 const String16 origin; | 33 const String16 origin; |
35 const String16 humanReadableName; | 34 const String16 humanReadableName; |
36 const String16 frameId; | 35 const String16 frameId; |
37 bool hasMemoryOnConsole; | 36 bool hasMemoryOnConsole; |
38 }; | 37 }; |
39 | 38 |
40 } // namespace blink | 39 } // namespace blink |
41 | 40 |
42 #endif // V8ContextInfo_h | 41 #endif // V8ContextInfo_h |
OLD | NEW |