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

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: rebase 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
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; 640 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_;
637 641
638 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; 642 std::unique_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
639 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_; 643 std::unique_ptr<media::AudioHardwareConfig> audio_hardware_config_;
640 644
641 HistogramCustomizer histogram_customizer_; 645 HistogramCustomizer histogram_customizer_;
642 646
643 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_; 647 std::unique_ptr<base::MemoryPressureListener> memory_pressure_listener_;
644 648
645 std::unique_ptr<MemoryObserver> memory_observer_; 649 std::unique_ptr<MemoryObserver> memory_observer_;
650 std::unique_ptr<memory_coordinator::ChildMemoryCoordinatorImpl>
651 memory_coordinator_;
646 652
647 scoped_refptr<base::SingleThreadTaskRunner> 653 scoped_refptr<base::SingleThreadTaskRunner>
648 main_thread_compositor_task_runner_; 654 main_thread_compositor_task_runner_;
649 655
650 // Compositor settings. 656 // Compositor settings.
651 bool is_gpu_rasterization_enabled_; 657 bool is_gpu_rasterization_enabled_;
652 bool is_gpu_rasterization_forced_; 658 bool is_gpu_rasterization_forced_;
653 bool is_async_worker_context_enabled_; 659 bool is_async_worker_context_enabled_;
654 int gpu_rasterization_msaa_sample_count_; 660 int gpu_rasterization_msaa_sample_count_;
655 bool is_lcd_text_enabled_; 661 bool is_lcd_text_enabled_;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 705 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
700 }; 706 };
701 707
702 #if defined(COMPILER_MSVC) 708 #if defined(COMPILER_MSVC)
703 #pragma warning(pop) 709 #pragma warning(pop)
704 #endif 710 #endif
705 711
706 } // namespace content 712 } // namespace content
707 713
708 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 714 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/DEPS ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698