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

Side by Side Diff: media/audio/audio_output_proxy_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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
« no previous file with comments | « media/audio/audio_output_dispatcher_impl.h ('k') | media/audio/audio_output_resampler.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 <stdint.h>
6
5 #include <string> 7 #include <string>
6 8
7 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "build/build_config.h"
9 #include "media/audio/audio_manager.h" 12 #include "media/audio/audio_manager.h"
10 #include "media/audio/audio_manager_base.h" 13 #include "media/audio/audio_manager_base.h"
11 #include "media/audio/audio_output_dispatcher_impl.h" 14 #include "media/audio/audio_output_dispatcher_impl.h"
12 #include "media/audio/audio_output_proxy.h" 15 #include "media/audio/audio_output_proxy.h"
13 #include "media/audio/audio_output_resampler.h" 16 #include "media/audio/audio_output_resampler.h"
14 #include "media/audio/fake_audio_log_factory.h" 17 #include "media/audio/fake_audio_log_factory.h"
15 #include "media/audio/fake_audio_output_stream.h" 18 #include "media/audio/fake_audio_output_stream.h"
16 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
18 21
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 _)).WillOnce(Return(&real_stream)); 726 _)).WillOnce(Return(&real_stream));
724 727
725 // Stream1 should be able to successfully open and start. 728 // Stream1 should be able to successfully open and start.
726 EXPECT_CALL(real_stream, Open()).WillOnce(Return(true)); 729 EXPECT_CALL(real_stream, Open()).WillOnce(Return(true));
727 proxy = new AudioOutputProxy(resampler_.get()); 730 proxy = new AudioOutputProxy(resampler_.get());
728 EXPECT_TRUE(proxy->Open()); 731 EXPECT_TRUE(proxy->Open());
729 CloseAndWaitForCloseTimer(proxy, &real_stream); 732 CloseAndWaitForCloseTimer(proxy, &real_stream);
730 } 733 }
731 734
732 } // namespace media 735 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/audio_output_dispatcher_impl.h ('k') | media/audio/audio_output_resampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698