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

Unified Diff: include/v8-debug.h

Issue 303693010: Remove unused debug API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »
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 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);
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698