Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2094583002: Add MemoryCoordinator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create handle per child Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 namespace IPC { 73 namespace IPC {
74 class MessageFilter; 74 class MessageFilter;
75 } 75 }
76 76
77 namespace media { 77 namespace media {
78 class AudioHardwareConfig; 78 class AudioHardwareConfig;
79 class GpuVideoAcceleratorFactories; 79 class GpuVideoAcceleratorFactories;
80 } 80 }
81 81
82 namespace memory_coordinator {
83 class ChildMemoryCoordinatorImpl;
84 }
85
82 namespace scheduler { 86 namespace scheduler {
83 class WebThreadBase; 87 class WebThreadBase;
84 } 88 }
85 89
86 namespace v8 { 90 namespace v8 {
87 class Extension; 91 class Extension;
88 } 92 }
89 93
90 namespace content { 94 namespace content {
91 95
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; 643 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
640 644
641 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 645 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
642 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; 646 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_;
643 647
644 HistogramCustomizer histogram_customizer_; 648 HistogramCustomizer histogram_customizer_;
645 649
646 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 650 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
647 651
648 std::unique_ptr<MemoryObserver> memory_observer_; 652 std::unique_ptr<MemoryObserver> memory_observer_;
653 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
654 memory_coordinator_;
649 655
650 scoped_refptr<base::SingleThreadTaskRunner> 656 scoped_refptr<base::SingleThreadTaskRunner>
651 main_thread_compositor_task_runner_; 657 main_thread_compositor_task_runner_;
652 658
653 // Compositor settings. 659 // Compositor settings.
654 bool is_gpu_rasterization_enabled_; 660 bool is_gpu_rasterization_enabled_;
655 bool is_gpu_rasterization_forced_; 661 bool is_gpu_rasterization_forced_;
656 bool is_async_worker_context_enabled_; 662 bool is_async_worker_context_enabled_;
657 int gpu_rasterization_msaa_sample_count_; 663 int gpu_rasterization_msaa_sample_count_;
658 bool is_lcd_text_enabled_; 664 bool is_lcd_text_enabled_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 708 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
703 }; 709 };
704 710
705 #if defined(COMPILER_MSVC) 711 #if defined(COMPILER_MSVC)
706 #pragma warning(pop) 712 #pragma warning(pop)
707 #endif 713 #endif
708 714
709 } // namespace content 715 } // namespace content
710 716
711 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 717 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698