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

Unified Diff: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.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: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
index 1a29c5e8495f5b467a299e35ccad20e1cdf7398c..5a20a05226b6446d97f900a1c8f36a2048439680 100644
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h"
#include "base/file_util.h"
+#include "base/files/memory_mapped_file.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -92,7 +93,7 @@ scoped_ptr<DictionaryFile> InitializeDictionaryLocation(
// scoping closes the memory-mapped file before it is opened or deleted.
bool bdict_is_valid;
{
- file_util::MemoryMappedFile map;
+ base::MemoryMappedFile map;
bdict_is_valid = file_util::PathExists(file->path) &&
map.Initialize(file->path) &&
hunspell::BDict::Verify(reinterpret_cast<const char*>(map.data()),

Powered by Google App Engine
This is Rietveld 408576698