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

Side by Side Diff: media/ffmpeg/ffmpeg_unittest.cc

Issue 563173002: Cleanup: Use base/files/file_util.h instead of base/file_util.h in [c-n]*/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « media/cast/test/simulator.cc ('k') | media/video/capture/linux/video_capture_device_linux.h » ('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 // ffmpeg_unittests verify that the parts of the FFmpeg API that Chromium uses 5 // ffmpeg_unittests verify that the parts of the FFmpeg API that Chromium uses
6 // function as advertised for each media format that Chromium supports. This 6 // function as advertised for each media format that Chromium supports. This
7 // mostly includes stuff like reporting proper timestamps, seeking to 7 // mostly includes stuff like reporting proper timestamps, seeking to
8 // keyframes, and supporting certain features like reordered_opaque. 8 // keyframes, and supporting certain features like reordered_opaque.
9 // 9 //
10 10
11 #include <limits> 11 #include <limits>
12 #include <queue> 12 #include <queue>
13 13
14 #include "base/base_paths.h" 14 #include "base/base_paths.h"
15 #include "base/file_util.h"
16 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/files/file_util.h"
17 #include "base/files/memory_mapped_file.h" 17 #include "base/files/memory_mapped_file.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/path_service.h" 19 #include "base/path_service.h"
20 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
21 #include "base/test/perf_test_suite.h" 21 #include "base/test/perf_test_suite.h"
22 #include "base/test/perf_time_logger.h" 22 #include "base/test/perf_time_logger.h"
23 #include "media/base/media.h" 23 #include "media/base/media.h"
24 #include "media/ffmpeg/ffmpeg_common.h" 24 #include "media/ffmpeg/ffmpeg_common.h"
25 #include "media/filters/ffmpeg_glue.h" 25 #include "media/filters/ffmpeg_glue.h"
26 #include "media/filters/in_memory_url_protocol.h" 26 #include "media/filters/in_memory_url_protocol.h"
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 EXPECT_TRUE(StepDecodeVideo()); 580 EXPECT_TRUE(StepDecodeVideo());
581 VLOG(1) << decoded_video_time(); 581 VLOG(1) << decoded_video_time();
582 582
583 SeekTo(0.4); 583 SeekTo(0.4);
584 ReadRemainingFile(); 584 ReadRemainingFile();
585 EXPECT_TRUE(StepDecodeVideo()); 585 EXPECT_TRUE(StepDecodeVideo());
586 VLOG(1) << decoded_video_time(); 586 VLOG(1) << decoded_video_time();
587 } 587 }
588 588
589 } // namespace media 589 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/test/simulator.cc ('k') | media/video/capture/linux/video_capture_device_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698