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

Side by Side Diff: media/filters/blocking_url_protocol_unittest.cc

Issue 14820034: Cleanup: Remove unneeded base/file_util.h includes in chrome_frame, courgette, ipc, media, and net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix build Created 7 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 | Annotate | Revision Log
« no previous file with comments | « media/audio/win/audio_output_win_unittest.cc ('k') | media/filters/ffmpeg_demuxer_unittest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/bind.h" 5 #include "base/bind.h"
6 #include "base/file_util.h"
7 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
8 #include "base/path_service.h"
9 #include "base/synchronization/waitable_event.h" 7 #include "base/synchronization/waitable_event.h"
10 #include "media/base/test_data_util.h" 8 #include "media/base/test_data_util.h"
11 #include "media/ffmpeg/ffmpeg_common.h" 9 #include "media/ffmpeg/ffmpeg_common.h"
12 #include "media/filters/blocking_url_protocol.h" 10 #include "media/filters/blocking_url_protocol.h"
13 #include "media/filters/file_data_source.h" 11 #include "media/filters/file_data_source.h"
14 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
16 14
17 namespace media { 15 namespace media {
18 16
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 TEST_F(BlockingUrlProtocolTest, IsStreaming) { 109 TEST_F(BlockingUrlProtocolTest, IsStreaming) {
112 EXPECT_FALSE(data_source_.IsStreaming()); 110 EXPECT_FALSE(data_source_.IsStreaming());
113 EXPECT_FALSE(url_protocol_.IsStreaming()); 111 EXPECT_FALSE(url_protocol_.IsStreaming());
114 112
115 data_source_.force_streaming_for_testing(); 113 data_source_.force_streaming_for_testing();
116 EXPECT_TRUE(data_source_.IsStreaming()); 114 EXPECT_TRUE(data_source_.IsStreaming());
117 EXPECT_TRUE(url_protocol_.IsStreaming()); 115 EXPECT_TRUE(url_protocol_.IsStreaming());
118 } 116 }
119 117
120 } // namespace media 118 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/win/audio_output_win_unittest.cc ('k') | media/filters/ffmpeg_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698