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

Unified Diff: include/v8-debug.h

Issue 2524323002: [debug] remove deprecated debug command message queue. (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') | src/debug/debug.cc » ('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 6eaf8806b4d0be9564dce518611b2fba7a48d2f4..77095b95eb4ad1ccb57acccb198e116a2b5de9e3 100644
--- a/include/v8-debug.h
+++ b/include/v8-debug.h
@@ -38,7 +38,7 @@ class V8_EXPORT Debug {
/**
* A message object passed to the debug message handler.
*/
- class Message {
+ V8_DEPRECATED("No longer supported", class Message {
public:
/**
* Check type of message.
@@ -85,8 +85,7 @@ class V8_EXPORT Debug {
virtual Isolate* GetIsolate() const = 0;
virtual ~Message() {}
- };
-
+ });
/**
* An event details object passed to the debug event listener.
@@ -145,10 +144,11 @@ class V8_EXPORT Debug {
*
* \param message the debug message handler message object
*
- * A MessageHandler2 does not take possession of the message data,
+ * A MessageHandler does not take possession of the message data,
* and must not rely on the data persisting after the handler returns.
*/
- typedef void (*MessageHandler)(const Message& message);
+ V8_DEPRECATED("No longer supported",
+ typedef void (*MessageHandler)(const Message& message));
/**
* Callback function for the host to ensure debug messages are processed.
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/debug/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698