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

Side by Side Diff: chromecast/browser/cast_media_blocker_browsertest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "base/macros.h" 5 #include "base/macros.h"
6 #include "base/memory/ptr_util.h" 6 #include "base/memory/ptr_util.h"
7 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 8 #include "base/run_loop.h"
8 #include "base/threading/platform_thread.h" 9 #include "base/threading/platform_thread.h"
9 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
10 #include "chromecast/browser/cast_media_blocker.h" 11 #include "chromecast/browser/cast_media_blocker.h"
11 #include "chromecast/browser/test/cast_browser_test.h" 12 #include "chromecast/browser/test/cast_browser_test.h"
12 #include "chromecast/chromecast_features.h" 13 #include "chromecast/chromecast_features.h"
13 #include "content/public/browser/media_session.h" 14 #include "content/public/browser/media_session.h"
14 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
15 #include "content/public/test/browser_test_utils.h" 16 #include "content/public/test/browser_test_utils.h"
16 #include "media/base/test_data_util.h" 17 #include "media/base/test_data_util.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 IN_PROC_BROWSER_TEST_F(CastMediaBlockerBrowserTest, Video_BlockUnblock) { 99 IN_PROC_BROWSER_TEST_F(CastMediaBlockerBrowserTest, Video_BlockUnblock) {
99 PlayMedia("video", "tulip2.webm"); 100 PlayMedia("video", "tulip2.webm");
100 101
101 BlockAndTestPlayerState("video", true); 102 BlockAndTestPlayerState("video", true);
102 BlockAndTestPlayerState("video", false); 103 BlockAndTestPlayerState("video", false);
103 } 104 }
104 #endif 105 #endif
105 106
106 } // namespace shell 107 } // namespace shell
107 } // namespace chromecast 108 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698