diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-24 21:55:45 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-24 21:55:45 +0000 |
commit | c3088cbb5cbd5c91b6c5602750ec327ff7963862 (patch) | |
tree | 4aac06d2b2541d9ef2744f719478f6c2c88b00c1 /courgette | |
parent | 47e870bf26f0c01dafe611ec03c0139c735063df (diff) | |
download | chromium_src-c3088cbb5cbd5c91b6c5602750ec327ff7963862.zip chromium_src-c3088cbb5cbd5c91b6c5602750ec327ff7963862.tar.gz chromium_src-c3088cbb5cbd5c91b6c5602750ec327ff7963862.tar.bz2 |
base: Move MemoryMappedFile out of file_util.h and into its own header file.
BUG=175002
TEST=base_unittests
R=brettw@chromium.org
TBR=erikwright@chromium.org,tommi@chromium.org,fischman@chromium.org,ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12321062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette')
-rw-r--r-- | courgette/ensemble_apply.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/courgette/ensemble_apply.cc b/courgette/ensemble_apply.cc index 28312f3..61a3602 100644 --- a/courgette/ensemble_apply.cc +++ b/courgette/ensemble_apply.cc @@ -8,8 +8,8 @@ #include "base/basictypes.h" #include "base/file_util.h" +#include "base/files/memory_mapped_file.h" #include "base/logging.h" - #include "courgette/crc.h" #include "courgette/region.h" #include "courgette/streams.h" @@ -378,7 +378,7 @@ Status ApplyEnsemblePatch(const base::FilePath::CharType* old_file_name, // First read enough of the patch file to validate the header is well-formed. // A few varint32 numbers should fit in 100. base::FilePath patch_file_path(patch_file_name); - file_util::MemoryMappedFile patch_file; + base::MemoryMappedFile patch_file; if (!patch_file.Initialize(patch_file_path)) return C_READ_OPEN_ERROR; @@ -392,7 +392,7 @@ Status ApplyEnsemblePatch(const base::FilePath::CharType* old_file_name, // Read the old_file. base::FilePath old_file_path(old_file_name); - file_util::MemoryMappedFile old_file; + base::MemoryMappedFile old_file; if (!old_file.Initialize(old_file_path)) return C_READ_ERROR; |