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

Side by Side Diff: content/browser/media/capture/web_contents_audio_input_stream_unittest.cc

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « no previous file | media/audio/clockless_audio_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/browser/media/capture/web_contents_audio_input_stream.h" 5 #include "content/browser/media/capture/web_contents_audio_input_stream.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <list> 9 #include <list>
10 #include <memory> 10 #include <memory>
(...skipping 25 matching lines...) Expand all
36 using ::testing::SaveArg; 36 using ::testing::SaveArg;
37 using ::testing::WithArgs; 37 using ::testing::WithArgs;
38 38
39 using media::AudioBus; 39 using media::AudioBus;
40 using media::AudioInputStream; 40 using media::AudioInputStream;
41 using media::AudioOutputStream; 41 using media::AudioOutputStream;
42 using media::AudioParameters; 42 using media::AudioParameters;
43 using media::AudioPushSink; 43 using media::AudioPushSink;
44 using media::SineWaveAudioSource; 44 using media::SineWaveAudioSource;
45 using media::VirtualAudioInputStream; 45 using media::VirtualAudioInputStream;
46 using media::VirtualAudioOutputStream;
47 46
48 namespace content { 47 namespace content {
49 48
50 namespace { 49 namespace {
51 50
52 const int kRenderProcessId = 123; 51 const int kRenderProcessId = 123;
53 const int kRenderFrameId = 456; 52 const int kRenderFrameId = 456;
54 const int kAnotherRenderProcessId = 789; 53 const int kAnotherRenderProcessId = 789;
55 const int kAnotherRenderFrameId = 1; 54 const int kAnotherRenderFrameId = 1;
56 55
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 WaitForData(); 539 WaitForData();
541 RUN_ON_AUDIO_THREAD(ChangeMirroringTarget); 540 RUN_ON_AUDIO_THREAD(ChangeMirroringTarget);
542 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder); 541 RUN_ON_AUDIO_THREAD(RemoveOneInputInFIFOOrder);
543 RUN_ON_AUDIO_THREAD(Stop); 542 RUN_ON_AUDIO_THREAD(Stop);
544 RUN_ON_AUDIO_THREAD(Close); 543 RUN_ON_AUDIO_THREAD(Close);
545 } 544 }
546 545
547 INSTANTIATE_TEST_CASE_P(, WebContentsAudioInputStreamTest, ::testing::Bool()); 546 INSTANTIATE_TEST_CASE_P(, WebContentsAudioInputStreamTest, ::testing::Bool());
548 547
549 } // namespace content 548 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | media/audio/clockless_audio_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698