summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker.h
diff options
context:
space:
mode:
authorsidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 17:55:42 +0000
committersidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 17:55:42 +0000
commitc674dbea1070e03a7412f1f71f197c880b659953 (patch)
tree83c5a0de4355730f17bf039cc83f4b31d84e7b91 /chrome/browser/spellchecker.h
parent4a1dccb2563495d89007e55eb9709699cb855ba1 (diff)
downloadchromium_src-c674dbea1070e03a7412f1f71f197c880b659953.zip
chromium_src-c674dbea1070e03a7412f1f71f197c880b659953.tar.gz
chromium_src-c674dbea1070e03a7412f1f71f197c880b659953.tar.bz2
Update SpellChecker to download the latest version of the bdic dictionary files.
Review URL: http://codereview.chromium.org/6474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker.h')
-rw-r--r--chrome/browser/spellchecker.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/spellchecker.h b/chrome/browser/spellchecker.h
index 932d3c9..526f38a 100644
--- a/chrome/browser/spellchecker.h
+++ b/chrome/browser/spellchecker.h
@@ -90,6 +90,11 @@ class SpellChecker : public base::RefCountedThreadSafe<SpellChecker> {
// (e.g. "word:word").
bool IsValidContraction(const std::wstring& word);
+ // Return the file name of the dictionary, including the path and the version
+ // numbers.
+ std::wstring GetVersionedFileName(const std::wstring& language,
+ const std::wstring& dict_dir);
+
// Path to the spellchecker file.
std::wstring bdict_file_name_;