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

Side by Side Diff: chromecast/media/cma/backend/alsa/stream_mixer_alsa_unittest.cc

Issue 1974473002: Fix include path for moved thread_task_runner_handle.h header in chromecast/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chromecast/media/cma/backend/alsa/stream_mixer_alsa.h" 5 #include "chromecast/media/cma/backend/alsa/stream_mixer_alsa.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <limits> 9 #include <limits>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h" 17 #include "chromecast/media/cma/backend/alsa/mock_alsa_wrapper.h"
18 #include "media/base/audio_bus.h" 18 #include "media/base/audio_bus.h"
19 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 using testing::_; 22 using testing::_;
23 23
24 namespace chromecast { 24 namespace chromecast {
25 namespace media { 25 namespace media {
26 26
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 593
594 input->SetMaxReadSize(1024); 594 input->SetMaxReadSize(1024);
595 EXPECT_CALL(*input, GetResampledData(_, 1024)); 595 EXPECT_CALL(*input, GetResampledData(_, 1024));
596 EXPECT_CALL(*input, AfterWriteFrames(_)); 596 EXPECT_CALL(*input, AfterWriteFrames(_));
597 EXPECT_CALL(*mock_alsa(), PcmWritei(_, _, 1024)).Times(1); 597 EXPECT_CALL(*mock_alsa(), PcmWritei(_, _, 1024)).Times(1);
598 mixer->WriteFramesForTest(); 598 mixer->WriteFramesForTest();
599 } 599 }
600 600
601 } // namespace media 601 } // namespace media
602 } // namespace chromecast 602 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698