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

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

Issue 264077: Convert devtools interfaces over to using WebString.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/devtools/bound_object.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 <string>
9
10 #include "webkit/glue/devtools/devtools_rpc.h" 8 #include "webkit/glue/devtools/devtools_rpc.h"
11 9
12 #define DEBUGGER_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ 10 #define DEBUGGER_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
13 /* Stops v8 execution as soon as it gets control. */ \ 11 /* Stops v8 execution as soon as it gets control. */ \
14 METHOD0(DebugBreak) \ 12 METHOD0(DebugBreak) \
15 \ 13 \
16 /* Requests global context id of the inspected tab. */ \ 14 /* Requests global context id of the inspected tab. */ \
17 METHOD0(GetContextId) \ 15 METHOD0(GetContextId) \
18 \ 16 \
19 /* Starts profiling. */ \ 17 /* Starts profiling. */ \
20 METHOD1(StartProfiling, int /* flags */) \ 18 METHOD1(StartProfiling, int /* flags */) \
21 \ 19 \
22 /* Stops profiling. */ \ 20 /* Stops profiling. */ \
23 METHOD1(StopProfiling, int /* flags */) \ 21 METHOD1(StopProfiling, int /* flags */) \
24 \ 22 \
25 /* Requests current profiler state. */ \ 23 /* Requests current profiler state. */ \
26 METHOD0(GetActiveProfilerModules) \ 24 METHOD0(GetActiveProfilerModules) \
27 \ 25 \
28 /* Retrieves next portion of profiler log. */ \ 26 /* Retrieves next portion of profiler log. */ \
29 METHOD0(GetNextLogLines) 27 METHOD0(GetNextLogLines)
30 28
31 DEFINE_RPC_CLASS(DebuggerAgent, DEBUGGER_AGENT_STRUCT) 29 DEFINE_RPC_CLASS(DebuggerAgent, DEBUGGER_AGENT_STRUCT)
32 30
33 #define DEBUGGER_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \ 31 #define DEBUGGER_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
34 METHOD1(DebuggerOutput, std::string /* output text */) \ 32 METHOD1(DebuggerOutput, String /* output text */) \
35 \ 33 \
36 /* Pushes debugger context id into the client. */ \ 34 /* Pushes debugger context id into the client. */ \
37 METHOD1(SetContextId, int /* context id */) \ 35 METHOD1(SetContextId, int /* context id */) \
38 \ 36 \
39 /* Response to GetActiveProfilerModules. */ \ 37 /* Response to GetActiveProfilerModules. */ \
40 METHOD1(DidGetActiveProfilerModules, int /* flags */) \ 38 METHOD1(DidGetActiveProfilerModules, int /* flags */) \
41 \ 39 \
42 /* Response to GetNextLogLines. */ \ 40 /* Response to GetNextLogLines. */ \
43 METHOD1(DidGetNextLogLines, std::string /* log */) 41 METHOD1(DidGetNextLogLines, String /* log */)
44 42
45 DEFINE_RPC_CLASS(DebuggerAgentDelegate, DEBUGGER_AGENT_DELEGATE_STRUCT) 43 DEFINE_RPC_CLASS(DebuggerAgentDelegate, DEBUGGER_AGENT_DELEGATE_STRUCT)
46 44
47 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_ 45 #endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_H_
OLDNEW
« no previous file with comments | « webkit/glue/devtools/bound_object.cc ('k') | webkit/glue/devtools/debugger_agent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698