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

Side by Side Diff: webkit/glue/devtools/profiler_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 | « webkit/glue/devtools/js/tests.js ('k') | webkit/glue/devtools/profiler_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_DEVTOOLS_PROFILER_AGENT_H_
6 #define WEBKIT_GLUE_DEVTOOLS_PROFILER_AGENT_H_
7
8 #include "webkit/glue/devtools/devtools_rpc.h"
9
10 // Profiler agent provides API for retrieving profiler data.
11 // These methods are handled on the IO thread, so profiler can
12 // operate while a script on a page performs heavy work.
13 #define PROFILER_AGENT_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
14 /* Requests current profiler state. */ \
15 METHOD0(GetActiveProfilerModules) \
16 \
17 /* Retrieves portion of profiler log. */ \
18 METHOD1(GetLogLines, int /* position */)
19
20 DEFINE_RPC_CLASS(ProfilerAgent, PROFILER_AGENT_STRUCT)
21
22 #define PROFILER_AGENT_DELEGATE_STRUCT(METHOD0, METHOD1, METHOD2, METHOD3) \
23 /* Response to GetActiveProfilerModules. */ \
24 METHOD1(DidGetActiveProfilerModules, int /* flags */) \
25 \
26 /* Response to GetLogLines. */ \
27 METHOD2(DidGetLogLines, int /* position */, String /* log */)
28
29 DEFINE_RPC_CLASS(ProfilerAgentDelegate, PROFILER_AGENT_DELEGATE_STRUCT)
30
31 #endif // WEBKIT_GLUE_DEVTOOLS_PROFILER_AGENT_H_
OLDNEW
« no previous file with comments | « webkit/glue/devtools/js/tests.js ('k') | webkit/glue/devtools/profiler_agent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698