Index: chrome/common/spellcheck_common.h |
diff --git a/chrome/common/spellcheck_common.h b/chrome/common/spellcheck_common.h |
index 7254c8c81e18ca33c7c2841b4121fbf9634b4122..584806d2d253b55dc2b0fb3e86721efbcc3b704f 100644 |
--- a/chrome/common/spellcheck_common.h |
+++ b/chrome/common/spellcheck_common.h |
@@ -8,6 +8,8 @@ |
#include <string> |
#include <vector> |
+class PrefService; |
+ |
namespace base { |
class FilePath; |
} |
@@ -55,6 +57,9 @@ void GetISOLanguageCountryCodeFromLocale(const std::string& locale, |
std::string* language_code, |
std::string* country_code); |
+// Returns the list of enabled spellcheck dictionaries. |
+std::vector<std::string> GetDictionaryLanguagesPref(PrefService* prefs); |
+ |
// Returns true if multilingual spellchecker is enabled. |
bool IsMultilingualSpellcheckEnabled(); |