OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHILD_CHILD_THREAD_H_ | 5 #ifndef CONTENT_CHILD_CHILD_THREAD_H_ |
6 #define CONTENT_CHILD_CHILD_THREAD_H_ | 6 #define CONTENT_CHILD_CHILD_THREAD_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/power_monitor/power_monitor.h" |
| 13 #include "base/timer/hi_res_timer_manager.h" |
12 #include "base/tracked_objects.h" | 14 #include "base/tracked_objects.h" |
13 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
14 #include "content/common/message_router.h" | 16 #include "content/common/message_router.h" |
15 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 17 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
16 #include "webkit/child/resource_loader_bridge.h" | 18 #include "webkit/child/resource_loader_bridge.h" |
17 | 19 |
18 namespace base { | 20 namespace base { |
19 class MessageLoop; | 21 class MessageLoop; |
20 | 22 |
21 namespace debug { | 23 namespace debug { |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_; | 196 scoped_refptr<ChildResourceMessageFilter> resource_message_filter_; |
195 | 197 |
196 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 198 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
197 | 199 |
198 base::WeakPtrFactory<ChildThread> channel_connected_factory_; | 200 base::WeakPtrFactory<ChildThread> channel_connected_factory_; |
199 | 201 |
200 // Observes the trace event system. When tracing is enabled, optionally | 202 // Observes the trace event system. When tracing is enabled, optionally |
201 // starts profiling the tcmalloc heap. | 203 // starts profiling the tcmalloc heap. |
202 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; | 204 scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_; |
203 | 205 |
| 206 scoped_ptr<base::PowerMonitor> power_monitor_; |
| 207 scoped_ptr<base::HighResolutionTimerManager> hi_res_timer_manager_; |
| 208 |
204 DISALLOW_COPY_AND_ASSIGN(ChildThread); | 209 DISALLOW_COPY_AND_ASSIGN(ChildThread); |
205 }; | 210 }; |
206 | 211 |
207 } // namespace content | 212 } // namespace content |
208 | 213 |
209 #endif // CONTENT_CHILD_CHILD_THREAD_H_ | 214 #endif // CONTENT_CHILD_CHILD_THREAD_H_ |
OLD | NEW |