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

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

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/renderer/media/webrtc_audio_renderer.h" 5 #include "content/renderer/media/webrtc_audio_renderer.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "build/build_config.h" 14 #include "build/build_config.h"
14 #include "content/public/renderer/media_stream_audio_renderer.h" 15 #include "content/public/renderer/media_stream_audio_renderer.h"
15 #include "content/renderer/media/audio_device_factory.h" 16 #include "content/renderer/media/audio_device_factory.h"
16 #include "content/renderer/media/webrtc_audio_device_impl.h" 17 #include "content/renderer/media/webrtc_audio_device_impl.h"
17 #include "media/base/audio_capturer_source.h" 18 #include "media/base/audio_capturer_source.h"
18 #include "media/base/mock_audio_renderer_sink.h" 19 #include "media/base/mock_audio_renderer_sink.h"
19 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
21 #include "third_party/WebKit/public/platform/WebMediaStream.h" 22 #include "third_party/WebKit/public/platform/WebMediaStream.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 loop.Run(); 274 loop.Run();
274 EXPECT_EQ(kDefaultOutputDeviceId, 275 EXPECT_EQ(kDefaultOutputDeviceId,
275 mock_sink_->GetOutputDeviceInfo().device_id()); 276 mock_sink_->GetOutputDeviceInfo().device_id());
276 277
277 EXPECT_CALL(*mock_sink_.get(), Stop()); 278 EXPECT_CALL(*mock_sink_.get(), Stop());
278 EXPECT_CALL(*source_.get(), RemoveAudioRenderer(renderer_.get())); 279 EXPECT_CALL(*source_.get(), RemoveAudioRenderer(renderer_.get()));
279 renderer_proxy_->Stop(); 280 renderer_proxy_->Stop();
280 } 281 }
281 282
282 } // namespace content 283 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698