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

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

Issue 2558913004: [inspector] Store interger in context embedder data instead of a string. (Closed)
Patch Set: review comments Created 4 years 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/debugger-script.js » ('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 "include/v8-debug.h" 8 #include "include/v8-debug.h"
9 #include "include/v8-util.h" 9 #include "include/v8-util.h"
10 #include "include/v8.h" 10 #include "include/v8.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 ScriptOriginOptions OriginOptions() const; 148 ScriptOriginOptions OriginOptions() const;
149 bool WasCompiled() const; 149 bool WasCompiled() const;
150 int Id() const; 150 int Id() const;
151 int LineOffset() const; 151 int LineOffset() const;
152 int ColumnOffset() const; 152 int ColumnOffset() const;
153 std::vector<int> LineEnds() const; 153 std::vector<int> LineEnds() const;
154 MaybeLocal<String> Name() const; 154 MaybeLocal<String> Name() const;
155 MaybeLocal<String> SourceURL() const; 155 MaybeLocal<String> SourceURL() const;
156 MaybeLocal<String> SourceMappingURL() const; 156 MaybeLocal<String> SourceMappingURL() const;
157 MaybeLocal<String> ContextData() const; 157 MaybeLocal<Value> ContextData() const;
158 MaybeLocal<String> Source() const; 158 MaybeLocal<String> Source() const;
159 bool IsWasm() const; 159 bool IsWasm() const;
160 bool GetPossibleBreakpoints(const debug::Location& start, 160 bool GetPossibleBreakpoints(const debug::Location& start,
161 const debug::Location& end, 161 const debug::Location& end,
162 std::vector<debug::Location>* locations) const; 162 std::vector<debug::Location>* locations) const;
163 163
164 /** 164 /**
165 * script parameter is a wrapper v8::internal::JSObject for 165 * script parameter is a wrapper v8::internal::JSObject for
166 * v8::internal::Script. 166 * v8::internal::Script.
167 * This function gets v8::internal::Script from v8::internal::JSObject and 167 * This function gets v8::internal::Script from v8::internal::JSObject and
(...skipping 21 matching lines...) Expand all
189 189
190 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts); 190 void GetLoadedScripts(Isolate* isolate, PersistentValueVector<Script>& scripts);
191 191
192 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, 192 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
193 Local<String> source); 193 Local<String> source);
194 194
195 } // namespace debug 195 } // namespace debug
196 } // namespace v8 196 } // namespace v8
197 197
198 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 198 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/debugger-script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698