| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } // namespace edk | 48 } // namespace edk |
| 49 } // namespace mojo | 49 } // namespace mojo |
| 50 | 50 |
| 51 namespace blink { | 51 namespace blink { |
| 52 class WebFrame; | 52 class WebFrame; |
| 53 } // namespace blink | 53 } // namespace blink |
| 54 | 54 |
| 55 namespace content { | 55 namespace content { |
| 56 class ChildMessageFilter; | 56 class ChildMessageFilter; |
| 57 class ChildDiscardableSharedMemoryManager; | 57 class ChildDiscardableSharedMemoryManager; |
| 58 class ChildGpuMemoryBufferManager; | |
| 59 class ChildHistogramMessageFilter; | 58 class ChildHistogramMessageFilter; |
| 60 class ChildResourceMessageFilter; | 59 class ChildResourceMessageFilter; |
| 61 class ChildSharedBitmapManager; | 60 class ChildSharedBitmapManager; |
| 62 class FileSystemDispatcher; | 61 class FileSystemDispatcher; |
| 63 class InProcessChildThreadParams; | 62 class InProcessChildThreadParams; |
| 64 class NotificationDispatcher; | 63 class NotificationDispatcher; |
| 65 class PushDispatcher; | 64 class PushDispatcher; |
| 66 class ServiceWorkerMessageFilter; | 65 class ServiceWorkerMessageFilter; |
| 67 class QuotaDispatcher; | 66 class QuotaDispatcher; |
| 68 class QuotaMessageFilter; | 67 class QuotaMessageFilter; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 129 |
| 131 #if defined(OS_LINUX) | 130 #if defined(OS_LINUX) |
| 132 void SetThreadPriority(base::PlatformThreadId id, | 131 void SetThreadPriority(base::PlatformThreadId id, |
| 133 base::ThreadPriority priority); | 132 base::ThreadPriority priority); |
| 134 #endif | 133 #endif |
| 135 | 134 |
| 136 ChildSharedBitmapManager* shared_bitmap_manager() const { | 135 ChildSharedBitmapManager* shared_bitmap_manager() const { |
| 137 return shared_bitmap_manager_.get(); | 136 return shared_bitmap_manager_.get(); |
| 138 } | 137 } |
| 139 | 138 |
| 140 ChildGpuMemoryBufferManager* gpu_memory_buffer_manager() const { | |
| 141 return gpu_memory_buffer_manager_.get(); | |
| 142 } | |
| 143 | |
| 144 ChildDiscardableSharedMemoryManager* discardable_shared_memory_manager() | 139 ChildDiscardableSharedMemoryManager* discardable_shared_memory_manager() |
| 145 const { | 140 const { |
| 146 return discardable_shared_memory_manager_.get(); | 141 return discardable_shared_memory_manager_.get(); |
| 147 } | 142 } |
| 148 | 143 |
| 149 ResourceDispatcher* resource_dispatcher() const { | 144 ResourceDispatcher* resource_dispatcher() const { |
| 150 return resource_dispatcher_.get(); | 145 return resource_dispatcher_.get(); |
| 151 } | 146 } |
| 152 | 147 |
| 153 FileSystemDispatcher* file_system_dispatcher() const { | 148 FileSystemDispatcher* file_system_dispatcher() const { |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_; | 308 scoped_refptr<ServiceWorkerMessageFilter> service_worker_message_filter_; |
| 314 | 309 |
| 315 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 310 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
| 316 | 311 |
| 317 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 312 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 318 | 313 |
| 319 scoped_refptr<PushDispatcher> push_dispatcher_; | 314 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 320 | 315 |
| 321 std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; | 316 std::unique_ptr<ChildSharedBitmapManager> shared_bitmap_manager_; |
| 322 | 317 |
| 323 std::unique_ptr<ChildGpuMemoryBufferManager> gpu_memory_buffer_manager_; | |
| 324 | |
| 325 std::unique_ptr<ChildDiscardableSharedMemoryManager> | 318 std::unique_ptr<ChildDiscardableSharedMemoryManager> |
| 326 discardable_shared_memory_manager_; | 319 discardable_shared_memory_manager_; |
| 327 | 320 |
| 328 std::unique_ptr<base::PowerMonitor> power_monitor_; | 321 std::unique_ptr<base::PowerMonitor> power_monitor_; |
| 329 | 322 |
| 330 scoped_refptr<base::SequencedTaskRunner> browser_process_io_runner_; | 323 scoped_refptr<base::SequencedTaskRunner> browser_process_io_runner_; |
| 331 | 324 |
| 332 std::unique_ptr<base::WeakPtrFactory<ChildThreadImpl>> | 325 std::unique_ptr<base::WeakPtrFactory<ChildThreadImpl>> |
| 333 channel_connected_factory_; | 326 channel_connected_factory_; |
| 334 | 327 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 363 |
| 371 private: | 364 private: |
| 372 struct Options options_; | 365 struct Options options_; |
| 373 | 366 |
| 374 DISALLOW_COPY_AND_ASSIGN(Builder); | 367 DISALLOW_COPY_AND_ASSIGN(Builder); |
| 375 }; | 368 }; |
| 376 | 369 |
| 377 } // namespace content | 370 } // namespace content |
| 378 | 371 |
| 379 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ | 372 #endif // CONTENT_CHILD_CHILD_THREAD_IMPL_H_ |
| OLD | NEW |