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

Side by Side Diff: webkit/glue/devtools/profiler_agent_impl.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/profiler_agent.h ('k') | webkit/glue/devtools/profiler_agent_impl.cc » ('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_IMPL_H_
6 #define WEBKIT_GLUE_DEVTOOLS_PROFILER_AGENT_IMPL_H_
7
8 #include <wtf/HashSet.h>
9 #include <wtf/Noncopyable.h>
10
11 #include "base/basictypes.h"
12 #include "v8.h"
13 #include "webkit/glue/devtools/profiler_agent.h"
14
15 class ProfilerAgentImpl : public ProfilerAgent {
16 public:
17 ProfilerAgentImpl(ProfilerAgentDelegate* delegate)
18 : delegate_(delegate) {}
19 virtual ~ProfilerAgentImpl() {}
20
21 // ProfilerAgent implementation.
22
23 // This method is called on IO thread.
24 virtual void GetActiveProfilerModules();
25
26 // This method is called on IO thread.
27 virtual void GetLogLines(int position);
28
29 private:
30 ProfilerAgentDelegate* delegate_;
31
32 DISALLOW_COPY_AND_ASSIGN(ProfilerAgentImpl);
33 };
34
35 #endif // WEBKIT_GLUE_DEVTOOLS_PROFILER_AGENT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/devtools/profiler_agent.h ('k') | webkit/glue/devtools/profiler_agent_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698