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

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

Issue 12321062: base: Move MemoryMappedFile out of file_util.h and into its own header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_frame again 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/test/ffmpeg_tests/ffmpeg_tests.cc ('k') | ui/base/resource/data_pack.h » ('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 8c1f17001b2ade83d1f4e928a9bfddec7f53e60f..858f65d6d946e087b69421af70c09ef477c52b8c 100644
--- a/media/tools/media_bench/media_bench.cc
+++ b/media/tools/media_bench/media_bench.cc
@@ -16,6 +16,7 @@
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
+#include "base/files/memory_mapped_file.h"
#include "base/logging.h"
#include "base/md5.h"
#include "base/path_service.h"
@@ -218,7 +219,7 @@ int main(int argc, const char** argv) {
__try {
#endif
- file_util::MemoryMappedFile file_data;
+ base::MemoryMappedFile file_data;
file_data.Initialize(in_path);
media::InMemoryUrlProtocol protocol(
file_data.data(), file_data.length(), false);
« no previous file with comments | « media/test/ffmpeg_tests/ffmpeg_tests.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698