| Index: chrome/common/spellcheck_common.h | 
| diff --git a/chrome/common/spellcheck_common.h b/chrome/common/spellcheck_common.h | 
| index cbdaf7bf08906ff3c5545f2dc84d9c773d37027f..3fd876d24ccbf62331b4876dcaf2a084999bf6ba 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; | 
| } | 
| @@ -39,6 +41,9 @@ static const size_t MAX_SYNCABLE_DICTIONARY_WORDS = 1300; | 
| // dictionary. | 
| static const size_t MAX_CUSTOM_DICTIONARY_WORD_BYTES = 99; | 
|  | 
| +// Character that separates language codes saved in preferences. | 
| +static const char kDictionaryLanguagesSeparator = ','; | 
| + | 
| base::FilePath GetVersionedFileName(const std::string& input_language, | 
| const base::FilePath& dict_dir); | 
|  | 
| @@ -55,6 +60,12 @@ 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(); | 
| + | 
| }  // namespace spellcheck_common | 
| }  // namespace chrome | 
|  | 
|  |