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

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

Issue 2667823004: Merged: [inspector] introduced memory size limit for console message storage (Closed)
Patch Set: 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/v8-console-message.h » ('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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, 204 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
205 Local<String> source); 205 Local<String> source);
206 206
207 typedef std::function<void(debug::PromiseDebugActionType type, int id, 207 typedef std::function<void(debug::PromiseDebugActionType type, int id,
208 void* data)> 208 void* data)>
209 AsyncTaskListener; 209 AsyncTaskListener;
210 void SetAsyncTaskListener(Isolate* isolate, AsyncTaskListener listener, 210 void SetAsyncTaskListener(Isolate* isolate, AsyncTaskListener listener,
211 void* data); 211 void* data);
212 212
213 int EstimatedValueSize(Isolate* isolate, v8::Local<v8::Value> value);
214
213 } // namespace debug 215 } // namespace debug
214 } // namespace v8 216 } // namespace v8
215 217
216 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 218 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-console-message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698