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

Unified Diff: include/v8-debug.h

Issue 87026: DevTools: Support eventless host message dispatching. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Rebase Created 11 years, 8 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/api.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 fc93d76ddf1bfdb9fbe8a6ce63bdeba636e62c37..debeac15c08c4bb570c76eafb1edda9694260470 100644
--- a/include/v8-debug.h
+++ b/include/v8-debug.h
@@ -124,12 +124,8 @@ class EXPORT Debug {
/**
* Debug host dispatch callback function.
- *
- * \param dispatch the dispatch value
- * \param data the data value passed when registering the dispatch handler
*/
- typedef void (*HostDispatchHandler)(ClientData* dispatch);
-
+ typedef void (*HostDispatchHandler)();
// Set a C debug event listener.
static bool SetDebugEventListener(EventCallback that,
@@ -149,8 +145,8 @@ class EXPORT Debug {
ClientData* client_data = NULL);
// Dispatch interface.
- static void SetHostDispatchHandler(HostDispatchHandler handler);
- static void SendHostDispatch(ClientData* dispatch);
+ static void SetHostDispatchHandler(HostDispatchHandler handler,
+ int period = 100);
/**
* Run a JavaScript function in the debugger.
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698