| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_ | 5 #ifndef CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_ |
| 6 #define CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_ | 6 #define CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| 10 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
| 11 #include "base/trace_event/trace_log.h" | 12 #include "base/trace_event/trace_log.h" |
| 12 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 | 16 |
| 16 class Sampler; | 17 class Sampler; |
| 17 class V8SamplingThread; | 18 class V8SamplingThread; |
| 18 | 19 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 scoped_ptr<V8SamplingThread> sampling_thread_; | 40 scoped_ptr<V8SamplingThread> sampling_thread_; |
| 40 scoped_ptr<Sampler> render_thread_sampler_; | 41 scoped_ptr<Sampler> render_thread_sampler_; |
| 41 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 42 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(V8SamplingProfiler); | 44 DISALLOW_COPY_AND_ASSIGN(V8SamplingProfiler); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace content | 47 } // namespace content |
| 47 | 48 |
| 48 #endif // CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_ | 49 #endif // CONTENT_RENDERER_DEVTOOLS_V8_SAMPLING_PROFILER_H_ |
| OLD | NEW |