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

Unified Diff: chrome/renderer/spellchecker/hunspell_engine.h

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
Index: chrome/renderer/spellchecker/hunspell_engine.h
diff --git a/chrome/renderer/spellchecker/hunspell_engine.h b/chrome/renderer/spellchecker/hunspell_engine.h
index 26d3a39ce14fae3cfd461454afe834c52633c8e5..bbc9fb4cad81f5f860cd146ab33748768344a82c 100644
--- a/chrome/renderer/spellchecker/hunspell_engine.h
+++ b/chrome/renderer/spellchecker/hunspell_engine.h
@@ -5,18 +5,21 @@
#ifndef CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_
#define CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_
-#include "base/file_util.h"
+#include <string>
+#include <vector>
+
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "base/utf_string_conversions.h"
#include "chrome/common/spellcheck_common.h"
#include "chrome/renderer/spellchecker/spelling_engine.h"
-#include <string>
-#include <vector>
-
class Hunspell;
+namespace base {
+class MemoryMappedFile;
+}
+
class HunspellEngine : public SpellingEngine {
public:
HunspellEngine();
@@ -36,7 +39,7 @@ class HunspellEngine : public SpellingEngine {
void InitializeHunspell();
// We memory-map the BDict file.
- scoped_ptr<file_util::MemoryMappedFile> bdict_file_;
+ scoped_ptr<base::MemoryMappedFile> bdict_file_;
// The hunspell dictionary in use.
scoped_ptr<Hunspell> hunspell_;
@@ -51,8 +54,6 @@ class HunspellEngine : public SpellingEngine {
// This flags is true if we have requested dictionary.
bool dictionary_requested_;
-
};
#endif // CHROME_RENDERER_SPELLCHECKER_HUNSPELL_ENGINE_H_
-
« no previous file with comments | « chrome/installer/util/move_tree_work_item_unittest.cc ('k') | chrome/renderer/spellchecker/hunspell_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698