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

Side by Side Diff: src/debug/debug-interface.h

Issue 2663973002: [inspector] added experimental is_module flag for script parsed events (Closed)
Patch Set: rebased Created 3 years, 10 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 | « src/api.cc ('k') | src/inspector/js_protocol.json » ('j') | 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 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_DEBUG_DEBUG_INTERFACE_H_ 5 #ifndef V8_DEBUG_DEBUG_INTERFACE_H_
6 #define V8_DEBUG_DEBUG_INTERFACE_H_ 6 #define V8_DEBUG_DEBUG_INTERFACE_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "include/v8-debug.h" 10 #include "include/v8-debug.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 int Id() const; 116 int Id() const;
117 int LineOffset() const; 117 int LineOffset() const;
118 int ColumnOffset() const; 118 int ColumnOffset() const;
119 std::vector<int> LineEnds() const; 119 std::vector<int> LineEnds() const;
120 MaybeLocal<String> Name() const; 120 MaybeLocal<String> Name() const;
121 MaybeLocal<String> SourceURL() const; 121 MaybeLocal<String> SourceURL() const;
122 MaybeLocal<String> SourceMappingURL() const; 122 MaybeLocal<String> SourceMappingURL() const;
123 MaybeLocal<Value> ContextData() const; 123 MaybeLocal<Value> ContextData() const;
124 MaybeLocal<String> Source() const; 124 MaybeLocal<String> Source() const;
125 bool IsWasm() const; 125 bool IsWasm() const;
126 bool IsModule() const;
126 bool GetPossibleBreakpoints(const debug::Location& start, 127 bool GetPossibleBreakpoints(const debug::Location& start,
127 const debug::Location& end, 128 const debug::Location& end,
128 std::vector<debug::Location>* locations) const; 129 std::vector<debug::Location>* locations) const;
129 130
130 private: 131 private:
131 int GetSourcePosition(const debug::Location& location) const; 132 int GetSourcePosition(const debug::Location& location) const;
132 }; 133 };
133 134
134 // Specialization for wasm Scripts. 135 // Specialization for wasm Scripts.
135 class WasmScript : public Script { 136 class WasmScript : public Script {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 175
175 void ResetBlackboxedStateCache(Isolate* isolate, 176 void ResetBlackboxedStateCache(Isolate* isolate,
176 v8::Local<debug::Script> script); 177 v8::Local<debug::Script> script);
177 178
178 int EstimatedValueSize(Isolate* isolate, v8::Local<v8::Value> value); 179 int EstimatedValueSize(Isolate* isolate, v8::Local<v8::Value> value);
179 180
180 } // namespace debug 181 } // namespace debug
181 } // namespace v8 182 } // namespace v8
182 183
183 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 184 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/js_protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698