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

Side by Side Diff: content/renderer/media/webrtc_local_audio_source_provider_unittest.cc

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h" 8 #include "content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h"
9 #include "content/renderer/media/webrtc_local_audio_source_provider.h" 9 #include "content/renderer/media/webrtc_local_audio_source_provider.h"
10 #include "content/renderer/media/webrtc_local_audio_track.h" 10 #include "content/renderer/media/webrtc_local_audio_track.h"
11 #include "media/audio/audio_parameters.h"
12 #include "media/base/audio_bus.h" 11 #include "media/base/audio_bus.h"
12 #include "media/base/audio_parameters.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" 14 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
15 #include "third_party/WebKit/public/platform/WebString.h" 15 #include "third_party/WebKit/public/platform/WebString.h"
16 #include "third_party/WebKit/public/web/WebHeap.h" 16 #include "third_party/WebKit/public/web/WebHeap.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 class WebRtcLocalAudioSourceProviderTest : public testing::Test { 20 class WebRtcLocalAudioSourceProviderTest : public testing::Test {
21 protected: 21 protected:
22 void SetUp() override { 22 void SetUp() override {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Stop the audio track. 129 // Stop the audio track.
130 WebRtcLocalAudioTrack* native_track = static_cast<WebRtcLocalAudioTrack*>( 130 WebRtcLocalAudioTrack* native_track = static_cast<WebRtcLocalAudioTrack*>(
131 MediaStreamTrack::GetTrack(blink_track_)); 131 MediaStreamTrack::GetTrack(blink_track_));
132 native_track->Stop(); 132 native_track->Stop();
133 133
134 // Delete the source provider. 134 // Delete the source provider.
135 source_provider_.reset(); 135 source_provider_.reset();
136 } 136 }
137 137
138 } // namespace content 138 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webrtc_local_audio_source_provider.cc ('k') | content/renderer/media/webrtc_local_audio_track.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698