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

Side by Side Diff: webkit/glue/devtools/debugger_agent.h

Issue 460018: DevTools: make possible profiling of scripts doing heavy calculations. (Closed)
Patch Set: Comments addressed 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_ 5 #ifndef WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_
6 #define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_ 6 #define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_
7 7
8 #include "webkit/glue/devtools/devtools_rpc.h" 8 #include "webkit/glue/devtools/devtools_rpc.h"
9 9
10 #define DEBUGGER_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ 10 #define DEBUGGER_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
11 /* Requests global context id of the inspected tab. */ \ 11 /* Requests global context id of the inspected tab. */ \
12 METHOD0(GetContextId) \ 12 METHOD0(GetContextId)
13 \
14 /* Starts profiling. */ \
15 METHOD1(StartProfiling, int /* flags */) \
16 \
17 /* Stops profiling. */ \
18 METHOD1(StopProfiling, int /* flags */) \
19 \
20 /* Requests current profiler state. */ \
21 METHOD0(GetActiveProfilerModules) \
22 \
23 /* Retrieves next portion of profiler log. */ \
24 METHOD0(GetNextLogLines)
25 13
26 DEFINE_RPC_CLASS(DebuggerAgent, DEBUGGER_AGENT_STRUCT) 14 DEFINE_RPC_CLASS(DebuggerAgent, DEBUGGER_AGENT_STRUCT)
27 15
28 #define DEBUGGER_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ 16 #define DEBUGGER_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
29 METHOD1(DebuggerOutput, String /* output text */) \ 17 METHOD1(DebuggerOutput, String /* output text */) \
30 \ 18 \
31 /* Pushes debugger context id into the client. */ \ 19 /* Pushes debugger context id into the client. */ \
32 METHOD1(SetContextId, int /* context id */) \ 20 METHOD1(SetContextId, int /* context id */)
33 \
34 /* Response to GetActiveProfilerModules. */ \
35 METHOD1(DidGetActiveProfilerModules, int /* flags */) \
36 \
37 /* Response to GetNextLogLines. */ \
38 METHOD1(DidGetNextLogLines, String /* log */)
39 21
40 DEFINE_RPC_CLASS(DebuggerAgentDelegate, DEBUGGER_AGENT_DELEGATE_STRUCT) 22 DEFINE_RPC_CLASS(DebuggerAgentDelegate, DEBUGGER_AGENT_DELEGATE_STRUCT)
41 23
42 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_ 24 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_
OLDNEW
« 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