| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BROWSER_TRACING_POWER_TRACING_AGENT_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_ |
| 6 #define CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_ | 6 #define CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted_memory.h" | 9 #include "base/memory/ref_counted_memory.h" |
| 9 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
| 10 #include "base/trace_event/tracing_agent.h" | 11 #include "base/trace_event/tracing_agent.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 template <typename Type> | 14 template <typename Type> |
| 14 struct DefaultSingletonTraits; | 15 struct DefaultSingletonTraits; |
| 15 } // namespace base | 16 } // namespace base |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 57 |
| 57 base::Thread thread_; | 58 base::Thread thread_; |
| 58 scoped_ptr<BattorPowerTraceProvider> battor_trace_provider_; | 59 scoped_ptr<BattorPowerTraceProvider> battor_trace_provider_; |
| 59 | 60 |
| 60 DISALLOW_COPY_AND_ASSIGN(PowerTracingAgent); | 61 DISALLOW_COPY_AND_ASSIGN(PowerTracingAgent); |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace content | 64 } // namespace content |
| 64 | 65 |
| 65 #endif // CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_ | 66 #endif // CONTENT_BROWSER_TRACING_POWER_TRACING_AGENT_H_ |
| OLD | NEW |