Index: include/v8-debug.h |
diff --git a/include/v8-debug.h b/include/v8-debug.h |
index aea5684a8cf73499b3c3ea9f17f430cb441e7d2c..3c738d1a1c814f0f7f186a9460b6ae080ade5986 100644 |
--- a/include/v8-debug.h |
+++ b/include/v8-debug.h |
@@ -139,9 +139,6 @@ class V8_EXPORT Debug { |
*/ |
typedef void (*EventCallback)(const EventDetails& event_details); |
- // TODO(yangguo) Deprecate this. |
- typedef EventCallback EventCallback2; |
- |
/** |
* Debug message callback function. |
* |
@@ -152,9 +149,6 @@ class V8_EXPORT Debug { |
*/ |
typedef void (*MessageHandler)(const Message& message); |
- // TODO(yangguo) Deprecate this. |
- typedef MessageHandler MessageHandler2; |
- |
/** |
* Callback function for the host to ensure debug messages are processed. |
*/ |
@@ -163,12 +157,6 @@ class V8_EXPORT Debug { |
static bool SetDebugEventListener(EventCallback that, |
Handle<Value> data = Handle<Value>()); |
- // TODO(yangguo) Deprecate this. |
- static bool SetDebugEventListener2(EventCallback2 that, |
- Handle<Value> data = Handle<Value>()) { |
- return SetDebugEventListener(that, data); |
- } |
- |
// Schedule a debugger break to happen when JavaScript code is run |
// in the given isolate. |
static void DebugBreak(Isolate* isolate); |
@@ -192,11 +180,6 @@ class V8_EXPORT Debug { |
// Message based interface. The message protocol is JSON. |
static void SetMessageHandler(MessageHandler handler); |
- // TODO(yangguo) Deprecate this. |
- static void SetMessageHandler2(MessageHandler2 handler) { |
- SetMessageHandler(handler); |
- } |
- |
static void SendCommand(Isolate* isolate, |
const uint16_t* command, int length, |
ClientData* client_data = NULL); |