Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8ContextInfo.h

Issue 2215153002: [DevTools] Eliminate frameId and isContentScript from js protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: navigation tracker Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/public/SimpleInspector.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/String16.h" 8 #include "platform/inspector_protocol/String16.h"
9 9
10 #include <v8.h> 10 #include <v8.h>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class V8ContextInfo { 14 class V8ContextInfo {
15 public: 15 public:
16 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, const Stri ng16& humanReadableName)
17 : context(context) 17 : context(context)
18 , contextGroupId(contextGroupId) 18 , contextGroupId(contextGroupId)
19 , isDefault(isDefault)
20 , origin(origin)
21 , humanReadableName(humanReadableName) 19 , humanReadableName(humanReadableName)
22 , frameId(frameId) 20 , hasMemoryOnConsole(false)
23 , hasMemoryOnConsole(hasMemoryOnConsole)
24 { 21 {
25 } 22 }
26 23
27 v8::Local<v8::Context> context; 24 v8::Local<v8::Context> context;
28 // Each v8::Context is a part of a group. The group id is used to find appro priate 25 // Each v8::Context is a part of a group. The group id is used to find appro priate
29 // V8DebuggerAgent to notify about events in the context. 26 // V8DebuggerAgent to notify about events in the context.
30 // |contextGroupId| must be non-0. 27 // |contextGroupId| must be non-0.
31 int contextGroupId; 28 int contextGroupId;
32 bool isDefault; 29 String16 humanReadableName;
33 const String16 origin; 30 String16 origin;
34 const String16 humanReadableName; 31 String16 auxData;
35 // TODO(dgozman): aux data?
36 const String16 frameId;
37 bool hasMemoryOnConsole; 32 bool hasMemoryOnConsole;
38 }; 33 };
39 34
40 } // namespace blink 35 } // namespace blink
41 36
42 #endif // V8ContextInfo_h 37 #endif // V8ContextInfo_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/public/SimpleInspector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698