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_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 HistogramCustomizer histogram_customizer_; | 497 HistogramCustomizer histogram_customizer_; |
498 | 498 |
499 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 499 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
500 | 500 |
501 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; | 501 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; |
502 | 502 |
503 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 503 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
504 | 504 |
505 base::ProcessId renderer_process_id_; | 505 base::ProcessId renderer_process_id_; |
506 | 506 |
507 // TODO(reveman): Allow AllocateGpuMemoryBuffer to be called from | |
508 // multiple threads. Current allocation mechanism for IOSurface | |
509 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | |
510 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | |
511 | |
512 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 507 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
513 }; | 508 }; |
514 | 509 |
515 } // namespace content | 510 } // namespace content |
516 | 511 |
517 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 512 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |