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

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

Issue 10837131: Update webrtc to 2565. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Update webrtc to 2565. Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | content/test/webrtc_audio_device_test.cc » ('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) 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 "base/environment.h" 5 #include "base/environment.h"
6 #include "base/test/test_timeouts.h" 6 #include "base/test/test_timeouts.h"
7 #include "content/renderer/media/audio_hardware.h" 7 #include "content/renderer/media/audio_hardware.h"
8 #include "content/renderer/media/webrtc_audio_device_impl.h" 8 #include "content/renderer/media/webrtc_audio_device_impl.h"
9 #include "content/test/webrtc_audio_device_test.h" 9 #include "content/test/webrtc_audio_device_test.h"
10 #include "media/audio/audio_manager.h" 10 #include "media/audio/audio_manager.h"
11 #include "media/audio/audio_util.h" 11 #include "media/audio/audio_util.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "third_party/webrtc/voice_engine/main/interface/voe_audio_processing.h" 13 #include "third_party/webrtc/voice_engine/include/voe_audio_processing.h"
14 #include "third_party/webrtc/voice_engine/main/interface/voe_base.h" 14 #include "third_party/webrtc/voice_engine/include/voe_base.h"
15 #include "third_party/webrtc/voice_engine/main/interface/voe_external_media.h" 15 #include "third_party/webrtc/voice_engine/include/voe_external_media.h"
16 #include "third_party/webrtc/voice_engine/main/interface/voe_file.h" 16 #include "third_party/webrtc/voice_engine/include/voe_file.h"
17 #include "third_party/webrtc/voice_engine/main/interface/voe_network.h" 17 #include "third_party/webrtc/voice_engine/include/voe_network.h"
18 18
19 using testing::_; 19 using testing::_;
20 using testing::AnyNumber; 20 using testing::AnyNumber;
21 using testing::InvokeWithoutArgs; 21 using testing::InvokeWithoutArgs;
22 using testing::Return; 22 using testing::Return;
23 using testing::StrEq; 23 using testing::StrEq;
24 24
25 namespace { 25 namespace {
26 26
27 class AudioUtil : public AudioUtilInterface { 27 class AudioUtil : public AudioUtilInterface {
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 MessageLoop::QuitClosure(), 511 MessageLoop::QuitClosure(),
512 TestTimeouts::action_timeout()); 512 TestTimeouts::action_timeout());
513 message_loop_.Run(); 513 message_loop_.Run();
514 514
515 EXPECT_EQ(0, base->StopSend(ch)); 515 EXPECT_EQ(0, base->StopSend(ch));
516 EXPECT_EQ(0, base->StopPlayout(ch)); 516 EXPECT_EQ(0, base->StopPlayout(ch));
517 517
518 EXPECT_EQ(0, base->DeleteChannel(ch)); 518 EXPECT_EQ(0, base->DeleteChannel(ch));
519 EXPECT_EQ(0, base->Terminate()); 519 EXPECT_EQ(0, base->Terminate());
520 } 520 }
OLDNEW
« no previous file with comments | « DEPS ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698