| 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_IMPL_H_ | 5 #ifndef CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 6 #define CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/power_monitor/power_monitor.h" | 14 #include "base/power_monitor/power_monitor.h" |
| 15 #include "base/sequenced_task_runner.h" | 15 #include "base/sequenced_task_runner.h" |
| 16 #include "base/tracked_objects.h" | 16 #include "base/tracked_objects.h" |
| 17 #include "content/child/mojo/mojo_application.h" | 17 #include "content/child/mojo/mojo_application.h" |
| 18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "content/common/message_router.h" | 19 #include "content/common/message_router.h" |
| 20 #include "content/public/child/child_thread.h" | 20 #include "content/public/child/child_thread.h" |
| 21 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 21 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 class MessageLoop; | 24 class MessageLoop; |
| 25 | 25 |
| 26 namespace trace_event { | 26 namespace trace_event { |
| 27 class PseudoStackController; |
| 27 class TraceMemoryController; | 28 class TraceMemoryController; |
| 28 } // namespace trace_event | 29 } // namespace trace_event |
| 29 } // namespace base | 30 } // namespace base |
| 30 | 31 |
| 31 namespace IPC { | 32 namespace IPC { |
| 32 class AttachmentBrokerUnprivileged; | 33 class AttachmentBrokerUnprivileged; |
| 33 class MessageFilter; | 34 class MessageFilter; |
| 34 class ScopedIPCSupport; | 35 class ScopedIPCSupport; |
| 35 class SyncChannel; | 36 class SyncChannel; |
| 36 class SyncMessageFilter; | 37 class SyncMessageFilter; |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 | 279 |
| 279 scoped_refptr<PushDispatcher> push_dispatcher_; | 280 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 280 | 281 |
| 281 scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; | 282 scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; |
| 282 | 283 |
| 283 scoped_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_; | 284 scoped_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_; |
| 284 | 285 |
| 285 scoped_ptr<ChildDiscardableSharedMemoryManager> | 286 scoped_ptr<ChildDiscardableSharedMemoryManager> |
| 286 discardable_shared_memory_manager_; | 287 discardable_shared_memory_manager_; |
| 287 | 288 |
| 289 scoped_ptr<base::trace_event::PseudoStackController> pseudo_stack_controller_; |
| 290 |
| 288 // Observes the trace event system. When tracing is enabled, optionally | 291 // Observes the trace event system. When tracing is enabled, optionally |
| 289 // starts profiling the tcmalloc heap. | 292 // starts profiling the tcmalloc heap. |
| 290 scoped_ptr<base::trace_event::TraceMemoryController> trace_memory_controller_; | 293 scoped_ptr<base::trace_event::TraceMemoryController> trace_memory_controller_; |
| 291 | 294 |
| 292 scoped_ptr<base::PowerMonitor> power_monitor_; | 295 scoped_ptr<base::PowerMonitor> power_monitor_; |
| 293 | 296 |
| 294 scoped_refptr<ChildMessageFilter> geofencing_message_filter_; | 297 scoped_refptr<ChildMessageFilter> geofencing_message_filter_; |
| 295 | 298 |
| 296 scoped_refptr<base::SequencedTaskRunner> browser_process_io_runner_; | 299 scoped_refptr<base::SequencedTaskRunner> browser_process_io_runner_; |
| 297 | 300 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 327 | 330 |
| 328 private: | 331 private: |
| 329 struct Options options_; | 332 struct Options options_; |
| 330 | 333 |
| 331 DISALLOW_COPY_AND_ASSIGN(Builder); | 334 DISALLOW_COPY_AND_ASSIGN(Builder); |
| 332 }; | 335 }; |
| 333 | 336 |
| 334 } // namespace content | 337 } // namespace content |
| 335 | 338 |
| 336 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 339 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| OLD | NEW |