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

Unified Diff: include/v8-debug.h

Issue 2531543002: [debug] mark more unused debug API as deprecated. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | test/debugger/test-api.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8-debug.h
diff --git a/include/v8-debug.h b/include/v8-debug.h
index 4046c4c0cfbc177234fc4d2d4e5680afc0c44c7e..7b19094404ccc549452734f82861a559a948473b 100644
--- a/include/v8-debug.h
+++ b/include/v8-debug.h
@@ -16,11 +16,10 @@ namespace v8 {
enum DebugEvent {
Break = 1,
Exception = 2,
- NewFunction = 3,
- BeforeCompile = 4,
- AfterCompile = 5,
- CompileError = 6,
- AsyncTaskEvent = 7,
+ BeforeCompile = 3,
+ AfterCompile = 4,
+ CompileError = 5,
+ AsyncTaskEvent = 6,
};
class V8_EXPORT Debug {
@@ -166,7 +165,8 @@ class V8_EXPORT Debug {
static void CancelDebugBreak(Isolate* isolate);
// Check if a debugger break is scheduled in the given isolate.
- static bool CheckDebugBreak(Isolate* isolate);
+ V8_DEPRECATED("No longer supported",
+ static bool CheckDebugBreak(Isolate* isolate));
// Message based interface. The message protocol is JSON.
V8_DEPRECATED("No longer supported",
@@ -204,8 +204,9 @@ class V8_EXPORT Debug {
/**
* Returns a mirror object for the given object.
*/
- static MaybeLocal<Value> GetMirror(Local<Context> context,
- v8::Local<v8::Value> obj);
+ V8_DEPRECATED("No longer supported",
+ static MaybeLocal<Value> GetMirror(Local<Context> context,
+ v8::Local<v8::Value> obj));
/**
* Makes V8 process all pending debug messages.
@@ -254,7 +255,9 @@ class V8_EXPORT Debug {
* While in the debug context, this method returns the top-most non-debug
* context, if it exists.
*/
- static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate);
+ V8_DEPRECATED(
+ "No longer supported",
+ static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate));
/**
* Enable/disable LiveEdit functionality for the given Isolate
« no previous file with comments | « no previous file | src/api.cc » ('j') | test/debugger/test-api.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698