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

Unified Diff: webkit/glue/devtools/debugger_agent.h

Issue 467043: Revert 34040 - DevTools: make possible profiling of scripts doing heavy calcu... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years 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 | « chrome/renderer/devtools_agent_filter.cc ('k') | webkit/glue/devtools/debugger_agent_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/debugger_agent.h
===================================================================
--- webkit/glue/devtools/debugger_agent.h (revision 34040)
+++ webkit/glue/devtools/debugger_agent.h (working copy)
@@ -9,7 +9,19 @@
#define DEBUGGER_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
/* Requests global context id of the inspected tab. */ \
- METHOD0(GetContextId)
+ METHOD0(GetContextId) \
+ \
+ /* Starts profiling. */ \
+ METHOD1(StartProfiling, int /* flags */) \
+ \
+ /* Stops profiling. */ \
+ METHOD1(StopProfiling, int /* flags */) \
+ \
+ /* Requests current profiler state. */ \
+ METHOD0(GetActiveProfilerModules) \
+ \
+ /* Retrieves next portion of profiler log. */ \
+ METHOD0(GetNextLogLines)
DEFINE_RPC_CLASS(DebuggerAgent, DEBUGGER_AGENT_STRUCT)
@@ -17,7 +29,13 @@
METHOD1(DebuggerOutput, String /* output text */) \
\
/* Pushes debugger context id into the client. */ \
- METHOD1(SetContextId, int /* context id */)
+ METHOD1(SetContextId, int /* context id */) \
+ \
+ /* Response to GetActiveProfilerModules. */ \
+ METHOD1(DidGetActiveProfilerModules, int /* flags */) \
+ \
+ /* Response to GetNextLogLines. */ \
+ METHOD1(DidGetNextLogLines, String /* log */)
DEFINE_RPC_CLASS(DebuggerAgentDelegate, DEBUGGER_AGENT_DELEGATE_STRUCT)
« no previous file with comments | « chrome/renderer/devtools_agent_filter.cc ('k') | webkit/glue/devtools/debugger_agent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698