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 #include "content/renderer/renderer_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 #include "content/renderer/media_capture_from_element/html_audio_element_capture
r_source.h" | 64 #include "content/renderer/media_capture_from_element/html_audio_element_capture
r_source.h" |
65 #include "content/renderer/media_capture_from_element/html_video_element_capture
r_source.h" | 65 #include "content/renderer/media_capture_from_element/html_video_element_capture
r_source.h" |
66 #include "content/renderer/media_recorder/media_recorder_handler.h" | 66 #include "content/renderer/media_recorder/media_recorder_handler.h" |
67 #include "content/renderer/mojo/blink_interface_provider_impl.h" | 67 #include "content/renderer/mojo/blink_interface_provider_impl.h" |
68 #include "content/renderer/render_thread_impl.h" | 68 #include "content/renderer/render_thread_impl.h" |
69 #include "content/renderer/renderer_clipboard_delegate.h" | 69 #include "content/renderer/renderer_clipboard_delegate.h" |
70 #include "content/renderer/webclipboard_impl.h" | 70 #include "content/renderer/webclipboard_impl.h" |
71 #include "content/renderer/webgraphicscontext3d_provider_impl.h" | 71 #include "content/renderer/webgraphicscontext3d_provider_impl.h" |
72 #include "content/renderer/webpublicsuffixlist_impl.h" | 72 #include "content/renderer/webpublicsuffixlist_impl.h" |
73 #include "gpu/command_buffer/client/gles2_interface.h" | 73 #include "gpu/command_buffer/client/gles2_interface.h" |
| 74 #include "gpu/command_buffer/common/gpu_stream_constants.h" |
74 #include "gpu/config/gpu_info.h" | 75 #include "gpu/config/gpu_info.h" |
75 #include "gpu/ipc/client/gpu_channel_host.h" | 76 #include "gpu/ipc/client/gpu_channel_host.h" |
76 #include "gpu/ipc/common/gpu_stream_constants.h" | |
77 #include "ipc/ipc_sync_message_filter.h" | 77 #include "ipc/ipc_sync_message_filter.h" |
78 #include "media/audio/audio_output_device.h" | 78 #include "media/audio/audio_output_device.h" |
79 #include "media/blink/webcontentdecryptionmodule_impl.h" | 79 #include "media/blink/webcontentdecryptionmodule_impl.h" |
80 #include "media/filters/stream_parser_factory.h" | 80 #include "media/filters/stream_parser_factory.h" |
81 #include "ppapi/features/features.h" | 81 #include "ppapi/features/features.h" |
82 #include "services/service_manager/public/cpp/connector.h" | 82 #include "services/service_manager/public/cpp/connector.h" |
83 #include "services/service_manager/public/cpp/interface_provider.h" | 83 #include "services/service_manager/public/cpp/interface_provider.h" |
84 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" | 84 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" |
85 #include "storage/common/database/database_identifier.h" | 85 #include "storage/common/database/database_identifier.h" |
86 #include "storage/common/quota/quota_types.h" | 86 #include "storage/common/quota/quota_types.h" |
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 //------------------------------------------------------------------------------ | 1273 //------------------------------------------------------------------------------ |
1274 void RendererBlinkPlatformImpl::requestPurgeMemory() { | 1274 void RendererBlinkPlatformImpl::requestPurgeMemory() { |
1275 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but | 1275 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but |
1276 // ChildMemoryCoordinator isn't always available as it's only initialized | 1276 // ChildMemoryCoordinator isn't always available as it's only initialized |
1277 // when kMemoryCoordinatorV0 is enabled. | 1277 // when kMemoryCoordinatorV0 is enabled. |
1278 // Use ChildMemoryCoordinator when memory coordinator is always enabled. | 1278 // Use ChildMemoryCoordinator when memory coordinator is always enabled. |
1279 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); | 1279 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); |
1280 } | 1280 } |
1281 | 1281 |
1282 } // namespace content | 1282 } // namespace content |
OLD | NEW |