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

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

Issue 2896303004: [inspector] Move SetIdle from CPUProfiler to debug-interface (Closed)
Patch Set: rebased Created 3 years, 6 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-inspector-impl.cc » ('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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 const debug::Location& end) { 187 const debug::Location& end) {
188 return false; 188 return false;
189 } 189 }
190 }; 190 };
191 191
192 void SetDebugDelegate(Isolate* isolate, DebugDelegate* listener); 192 void SetDebugDelegate(Isolate* isolate, DebugDelegate* listener);
193 193
194 void ResetBlackboxedStateCache(Isolate* isolate, 194 void ResetBlackboxedStateCache(Isolate* isolate,
195 v8::Local<debug::Script> script); 195 v8::Local<debug::Script> script);
196 196
197 // Used for precise profiling information.
198 void SetIdle(Isolate* isolate, bool is_idle);
199
197 int EstimatedValueSize(Isolate* isolate, v8::Local<v8::Value> value); 200 int EstimatedValueSize(Isolate* isolate, v8::Local<v8::Value> value);
198 201
199 v8::MaybeLocal<v8::Array> EntriesPreview(Isolate* isolate, 202 v8::MaybeLocal<v8::Array> EntriesPreview(Isolate* isolate,
200 v8::Local<v8::Value> value, 203 v8::Local<v8::Value> value,
201 bool* is_key_value); 204 bool* is_key_value);
202 205
203 enum Builtin { 206 enum Builtin {
204 kObjectKeys, 207 kObjectKeys,
205 kObjectGetPrototypeOf, 208 kObjectGetPrototypeOf,
206 kObjectGetOwnPropertyDescriptor, 209 kObjectGetOwnPropertyDescriptor,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 ~Coverage(); 293 ~Coverage();
291 294
292 private: 295 private:
293 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {} 296 explicit Coverage(i::Coverage* coverage) : coverage_(coverage) {}
294 i::Coverage* coverage_; 297 i::Coverage* coverage_;
295 }; 298 };
296 } // namespace debug 299 } // namespace debug
297 } // namespace v8 300 } // namespace v8
298 301
299 #endif // V8_DEBUG_DEBUG_INTERFACE_H_ 302 #endif // V8_DEBUG_DEBUG_INTERFACE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-inspector-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698