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

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

Issue 1721273002: MediaStream audio object graph untangling and clean-ups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 4 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 <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 void RendererBlinkPlatformImpl::createHTMLVideoElementCapturer( 922 void RendererBlinkPlatformImpl::createHTMLVideoElementCapturer(
923 WebMediaStream* web_media_stream, 923 WebMediaStream* web_media_stream,
924 WebMediaPlayer* web_media_player) { 924 WebMediaPlayer* web_media_player) {
925 #if defined(ENABLE_WEBRTC) 925 #if defined(ENABLE_WEBRTC)
926 DCHECK(web_media_stream); 926 DCHECK(web_media_stream);
927 DCHECK(web_media_player); 927 DCHECK(web_media_player);
928 AddVideoTrackToMediaStream( 928 AddVideoTrackToMediaStream(
929 HtmlVideoElementCapturerSource::CreateFromWebMediaPlayerImpl( 929 HtmlVideoElementCapturerSource::CreateFromWebMediaPlayerImpl(
930 web_media_player, 930 web_media_player,
931 content::RenderThread::Get()->GetIOMessageLoopProxy()), 931 content::RenderThread::Get()->GetIOMessageLoopProxy()),
932 false /* is_remote */, false /* is_readonly */, web_media_stream); 932 false, // is_remote
933 false, // is_readonly
934 web_media_stream);
933 #endif 935 #endif
934 } 936 }
935 937
936 //------------------------------------------------------------------------------ 938 //------------------------------------------------------------------------------
937 939
938 blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer( 940 blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer(
939 blink::WebSpeechSynthesizerClient* client) { 941 blink::WebSpeechSynthesizerClient* client) {
940 return GetContentClient()->renderer()->OverrideSpeechSynthesizer(client); 942 return GetContentClient()->renderer()->OverrideSpeechSynthesizer(client);
941 } 943 }
942 944
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 } 1266 }
1265 1267
1266 //------------------------------------------------------------------------------ 1268 //------------------------------------------------------------------------------
1267 1269
1268 blink::WebTrialTokenValidator* 1270 blink::WebTrialTokenValidator*
1269 RendererBlinkPlatformImpl::trialTokenValidator() { 1271 RendererBlinkPlatformImpl::trialTokenValidator() {
1270 return &trial_token_validator_; 1272 return &trial_token_validator_;
1271 } 1273 }
1272 1274
1273 } // namespace content 1275 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_local_audio_track_unittest.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