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

Side by Side Diff: content/renderer/media/webmediaplayer_ms_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 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 8 #include "base/run_loop.h"
8 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
9 #include "content/public/renderer/media_stream_renderer_factory.h" 10 #include "content/public/renderer/media_stream_renderer_factory.h"
10 #include "content/renderer/media/webmediaplayer_ms.h" 11 #include "content/renderer/media/webmediaplayer_ms.h"
11 #include "content/renderer/media/webmediaplayer_ms_compositor.h" 12 #include "content/renderer/media/webmediaplayer_ms_compositor.h"
12 #include "content/renderer/render_frame_impl.h" 13 #include "content/renderer/render_frame_impl.h"
13 #include "media/base/test_helpers.h" 14 #include "media/base/test_helpers.h"
14 #include "media/base/video_frame.h" 15 #include "media/base/video_frame.h"
15 #include "third_party/WebKit/public/platform/WebLayer.h" 16 #include "third_party/WebKit/public/platform/WebLayer.h"
16 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 17 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 // OnShown() should restart after a forced suspension. 969 // OnShown() should restart after a forced suspension.
969 player_->OnFrameShown(); 970 player_->OnFrameShown();
970 EXPECT_FALSE(player_->Paused()); 971 EXPECT_FALSE(player_->Paused());
971 EXPECT_CALL(*this, DoSetWebLayer(false)); 972 EXPECT_CALL(*this, DoSetWebLayer(false));
972 973
973 base::RunLoop().RunUntilIdle(); 974 base::RunLoop().RunUntilIdle();
974 } 975 }
975 #endif 976 #endif
976 977
977 } // namespace content 978 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698