OLD | NEW |
(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_ |
OLD | NEW |