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

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

Issue 209193002: Remove PlatformFile from spell checker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert IsEnabled behavior Created 6 years, 9 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 | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | ipc/ipc_platform_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spelling_engine.h
diff --git a/chrome/renderer/spellchecker/spelling_engine.h b/chrome/renderer/spellchecker/spelling_engine.h
index f6e6bff600ee0486f2e5ee465076dbd575793f15..12e502d8c7f4ab5d92c44e512a885334171ee0b3 100644
--- a/chrome/renderer/spellchecker/spelling_engine.h
+++ b/chrome/renderer/spellchecker/spelling_engine.h
@@ -8,7 +8,7 @@
#include <string>
#include <vector>
-#include "base/platform_file.h"
+#include "base/files/file.h"
#include "base/strings/string16.h"
// Creates the platform's "native" spelling engine.
@@ -21,7 +21,7 @@ class SpellingEngine {
// Initialize spelling engine with browser-side info. Must be called before
// any other functions are called.
- virtual void Init(base::PlatformFile bdict_file) = 0;
+ virtual void Init(base::File bdict_file) = 0;
virtual bool InitializeIfNeeded() = 0;
virtual bool IsEnabled() = 0;
virtual bool CheckSpelling(const base::string16& word_to_check, int tag) = 0;
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | ipc/ipc_platform_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698