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/browser/media/capture/audio_mirroring_manager_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
« no previous file with comments | « components/audio_modem/audio_recorder_impl.h ('k') | content/browser/media/media_internals.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) 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/audio_mirroring_manager.h" 5 #include "content/browser/media/capture/audio_mirroring_manager.h"
6 6
7 #include <map> 7 #include <map>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/synchronization/waitable_event.h" 14 #include "base/synchronization/waitable_event.h"
15 #include "content/browser/browser_thread_impl.h" 15 #include "content/browser/browser_thread_impl.h"
16 #include "media/audio/audio_parameters.h" 16 #include "media/base/audio_parameters.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using media::AudioOutputStream; 20 using media::AudioOutputStream;
21 using media::AudioParameters; 21 using media::AudioParameters;
22 using testing::_; 22 using testing::_;
23 using testing::Invoke; 23 using testing::Invoke;
24 using testing::NotNull; 24 using testing::NotNull;
25 using testing::Ref; 25 using testing::Ref;
26 using testing::Return; 26 using testing::Return;
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 EXPECT_EQ(0, CountStreamsDivertedTo(destination)); 546 EXPECT_EQ(0, CountStreamsDivertedTo(destination));
547 EXPECT_EQ(2, another_destination->query_count()); 547 EXPECT_EQ(2, another_destination->query_count());
548 EXPECT_EQ(0, CountStreamsDivertedTo(another_destination)); 548 EXPECT_EQ(0, CountStreamsDivertedTo(another_destination));
549 EXPECT_EQ(2, yet_another_destination->query_count()); 549 EXPECT_EQ(2, yet_another_destination->query_count());
550 EXPECT_EQ(0, CountStreamsDivertedTo(yet_another_destination)); 550 EXPECT_EQ(0, CountStreamsDivertedTo(yet_another_destination));
551 551
552 ExpectNoLongerManagingAnything(); 552 ExpectNoLongerManagingAnything();
553 } 553 }
554 554
555 } // namespace content 555 } // namespace content
OLDNEW
« no previous file with comments | « components/audio_modem/audio_recorder_impl.h ('k') | content/browser/media/media_internals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698