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

Unified Diff: media/tools/media_bench/media_bench.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/tools/demuxer_bench/demuxer_bench.cc ('k') | media/tools/player_x11/player_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/media_bench/media_bench.cc
diff --git a/media/tools/media_bench/media_bench.cc b/media/tools/media_bench/media_bench.cc
index 9d3e070eb72073a2fd4a7b2559721720a452b12d..6910e7e073c3a8b018683ac2c42f674e0748feff 100644
--- a/media/tools/media_bench/media_bench.cc
+++ b/media/tools/media_bench/media_bench.cc
@@ -126,7 +126,7 @@ int main(int argc, const char** argv) {
}
// Initialize our media library (try loading DLLs, etc.) before continuing.
- FilePath media_path;
+ base::FilePath media_path;
PathService::Get(base::DIR_MODULE, &media_path);
if (!media::InitializeMediaLibrary(media_path)) {
std::cerr << "Unable to initialize the media library." << std::endl;
@@ -134,10 +134,10 @@ int main(int argc, const char** argv) {
}
// Retrieve command line options.
- FilePath in_path(filenames[0]);
- FilePath out_path;
+ base::FilePath in_path(filenames[0]);
+ base::FilePath out_path;
if (filenames.size() > 1)
- out_path = FilePath(filenames[1]);
+ out_path = base::FilePath(filenames[1]);
AVMediaType target_codec = AVMEDIA_TYPE_UNKNOWN;
// Determine whether to benchmark audio or video decoding.
« no previous file with comments | « media/tools/demuxer_bench/demuxer_bench.cc ('k') | media/tools/player_x11/player_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698