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

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 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
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 6910e7e073c3a8b018683ac2c42f674e0748feff..84ab0a035aa8f8ecca7f25e17e7f2361e520f180 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_path.h"
#include "base/file_util.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);

Powered by Google App Engine
This is Rietveld 408576698