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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2739253003: Image Capture: Move files out of content/renderer/media to replicate WebKit's structure (Closed)
Patch Set: DEPS Created 3 years, 9 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 #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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/public/renderer/media_stream_utils.h" 47 #include "content/public/renderer/media_stream_utils.h"
48 #include "content/public/renderer/render_frame.h" 48 #include "content/public/renderer/render_frame.h"
49 #include "content/renderer/cache_storage/webserviceworkercachestorage_impl.h" 49 #include "content/renderer/cache_storage/webserviceworkercachestorage_impl.h"
50 #include "content/renderer/device_sensors/device_light_event_pump.h" 50 #include "content/renderer/device_sensors/device_light_event_pump.h"
51 #include "content/renderer/device_sensors/device_motion_event_pump.h" 51 #include "content/renderer/device_sensors/device_motion_event_pump.h"
52 #include "content/renderer/device_sensors/device_orientation_event_pump.h" 52 #include "content/renderer/device_sensors/device_orientation_event_pump.h"
53 #include "content/renderer/dom_storage/local_storage_cached_areas.h" 53 #include "content/renderer/dom_storage/local_storage_cached_areas.h"
54 #include "content/renderer/dom_storage/local_storage_namespace.h" 54 #include "content/renderer/dom_storage/local_storage_namespace.h"
55 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" 55 #include "content/renderer/dom_storage/webstoragenamespace_impl.h"
56 #include "content/renderer/gamepad_shared_memory_reader.h" 56 #include "content/renderer/gamepad_shared_memory_reader.h"
57 #include "content/renderer/image_capture/image_capture_frame_grabber.h"
57 #include "content/renderer/media/audio_decoder.h" 58 #include "content/renderer/media/audio_decoder.h"
58 #include "content/renderer/media/audio_device_factory.h" 59 #include "content/renderer/media/audio_device_factory.h"
59 #include "content/renderer/media/image_capture_frame_grabber.h"
60 #include "content/renderer/media/renderer_webaudiodevice_impl.h" 60 #include "content/renderer/media/renderer_webaudiodevice_impl.h"
61 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" 61 #include "content/renderer/media/renderer_webmidiaccessor_impl.h"
62 #include "content/renderer/media_capture_from_element/canvas_capture_handler.h" 62 #include "content/renderer/media_capture_from_element/canvas_capture_handler.h"
63 #include "content/renderer/media_capture_from_element/html_audio_element_capture r_source.h" 63 #include "content/renderer/media_capture_from_element/html_audio_element_capture r_source.h"
64 #include "content/renderer/media_capture_from_element/html_video_element_capture r_source.h" 64 #include "content/renderer/media_capture_from_element/html_video_element_capture r_source.h"
65 #include "content/renderer/media_recorder/media_recorder_handler.h" 65 #include "content/renderer/media_recorder/media_recorder_handler.h"
66 #include "content/renderer/mojo/blink_interface_provider_impl.h" 66 #include "content/renderer/mojo/blink_interface_provider_impl.h"
67 #include "content/renderer/render_thread_impl.h" 67 #include "content/renderer/render_thread_impl.h"
68 #include "content/renderer/renderer_clipboard_delegate.h" 68 #include "content/renderer/renderer_clipboard_delegate.h"
69 #include "content/renderer/screen_orientation/screen_orientation_observer.h" 69 #include "content/renderer/screen_orientation/screen_orientation_observer.h"
(...skipping 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 //------------------------------------------------------------------------------ 1263 //------------------------------------------------------------------------------
1264 void RendererBlinkPlatformImpl::requestPurgeMemory() { 1264 void RendererBlinkPlatformImpl::requestPurgeMemory() {
1265 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but 1265 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but
1266 // ChildMemoryCoordinator isn't always available as it's only initialized 1266 // ChildMemoryCoordinator isn't always available as it's only initialized
1267 // when kMemoryCoordinatorV0 is enabled. 1267 // when kMemoryCoordinatorV0 is enabled.
1268 // Use ChildMemoryCoordinator when memory coordinator is always enabled. 1268 // Use ChildMemoryCoordinator when memory coordinator is always enabled.
1269 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); 1269 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory();
1270 } 1270 }
1271 1271
1272 } // namespace content 1272 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698