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

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

Issue 2788593002: Remove |remote| and |readonly| members of MediaStreamTrack. (Closed)
Patch Set: Fixed webkit-tests Created 3 years, 8 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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 void RendererBlinkPlatformImpl::createHTMLVideoElementCapturer( 857 void RendererBlinkPlatformImpl::createHTMLVideoElementCapturer(
858 WebMediaStream* web_media_stream, 858 WebMediaStream* web_media_stream,
859 WebMediaPlayer* web_media_player) { 859 WebMediaPlayer* web_media_player) {
860 #if BUILDFLAG(ENABLE_WEBRTC) 860 #if BUILDFLAG(ENABLE_WEBRTC)
861 DCHECK(web_media_stream); 861 DCHECK(web_media_stream);
862 DCHECK(web_media_player); 862 DCHECK(web_media_player);
863 AddVideoTrackToMediaStream( 863 AddVideoTrackToMediaStream(
864 HtmlVideoElementCapturerSource::CreateFromWebMediaPlayerImpl( 864 HtmlVideoElementCapturerSource::CreateFromWebMediaPlayerImpl(
865 web_media_player, content::RenderThread::Get()->GetIOTaskRunner()), 865 web_media_player, content::RenderThread::Get()->GetIOTaskRunner()),
866 false, // is_remote 866 false, // is_remote
867 false, // is_readonly
868 web_media_stream); 867 web_media_stream);
869 #endif 868 #endif
870 } 869 }
871 870
872 void RendererBlinkPlatformImpl::createHTMLAudioElementCapturer( 871 void RendererBlinkPlatformImpl::createHTMLAudioElementCapturer(
873 WebMediaStream* web_media_stream, 872 WebMediaStream* web_media_stream,
874 WebMediaPlayer* web_media_player) { 873 WebMediaPlayer* web_media_player) {
875 #if BUILDFLAG(ENABLE_WEBRTC) 874 #if BUILDFLAG(ENABLE_WEBRTC)
876 DCHECK(web_media_stream); 875 DCHECK(web_media_stream);
877 DCHECK(web_media_player); 876 DCHECK(web_media_player);
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 //------------------------------------------------------------------------------ 1271 //------------------------------------------------------------------------------
1273 void RendererBlinkPlatformImpl::requestPurgeMemory() { 1272 void RendererBlinkPlatformImpl::requestPurgeMemory() {
1274 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but 1273 // TODO(tasak|bashi): We should use ChildMemoryCoordinator here, but
1275 // ChildMemoryCoordinator isn't always available as it's only initialized 1274 // ChildMemoryCoordinator isn't always available as it's only initialized
1276 // when kMemoryCoordinatorV0 is enabled. 1275 // when kMemoryCoordinatorV0 is enabled.
1277 // Use ChildMemoryCoordinator when memory coordinator is always enabled. 1276 // Use ChildMemoryCoordinator when memory coordinator is always enabled.
1278 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory(); 1277 base::MemoryCoordinatorClientRegistry::GetInstance()->PurgeMemory();
1279 } 1278 }
1280 1279
1281 } // namespace content 1280 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/media_stream_utils.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698