TranslateDownloadManager 603 chrome/browser/browser_process_impl.cc TranslateDownloadManager::GetInstance()->set_application_locale(locale); TranslateDownloadManager 1519 chrome/browser/chrome_browser_main.cc TranslateDownloadManager::RequestLanguageList(profile_->GetPrefs()); TranslateDownloadManager 1585 chrome/browser/chrome_browser_main.cc TranslateDownloadManager::RequestLanguageList(profile_->GetPrefs()); TranslateDownloadManager 909 chrome/browser/renderer_context_menu/render_view_context_menu.cc locale = TranslateDownloadManager::GetLanguageCode(locale); TranslateDownloadManager 1187 chrome/browser/renderer_context_menu/render_view_context_menu.cc target_lang = TranslateDownloadManager::GetLanguageCode(target_lang); TranslateDownloadManager 1198 chrome/browser/renderer_context_menu/render_view_context_menu.cc TranslateDownloadManager::IsSupportedLanguage(target_lang) && TranslateDownloadManager 1763 chrome/browser/renderer_context_menu/render_view_context_menu.cc target_lang = TranslateDownloadManager::GetLanguageCode(target_lang); TranslateDownloadManager 67 chrome/browser/translate/translate_infobar_delegate.cc DCHECK(TranslateDownloadManager::IsSupportedLanguage(target_language)); TranslateDownloadManager 68 chrome/browser/translate/translate_infobar_delegate.cc if (!TranslateDownloadManager::IsSupportedLanguage(original_language)) { TranslateDownloadManager 242 chrome/browser/translate/translate_manager.cc TranslateDownloadManager::GetInstance()->application_locale(); TranslateDownloadManager 281 chrome/browser/translate/translate_manager.cc TranslateDownloadManager::GetLanguageCode(page_lang); TranslateDownloadManager 293 chrome/browser/translate/translate_manager.cc !TranslateDownloadManager::IsSupportedLanguage(language_code)) { TranslateDownloadManager 378 chrome/browser/translate/translate_manager.cc InitiateTranslation(TranslateDownloadManager::GetLanguageCode(page_lang)); TranslateDownloadManager 397 chrome/browser/translate/translate_manager.cc if (!TranslateDownloadManager::IsSupportedLanguage(source_lang)) TranslateDownloadManager 406 chrome/browser/translate/translate_manager.cc TranslateScript* script = TranslateDownloadManager::GetInstance()->script(); TranslateDownloadManager 491 chrome/browser/translate/translate_manager.cc !TranslateDownloadManager::IsSupportedLanguage( TranslateDownloadManager 532 chrome/browser/translate/translate_manager.cc TranslateDownloadManager::GetInstance()->script(); TranslateDownloadManager 555 chrome/browser/translate/translate_manager.cc TranslateDownloadManager::GetLanguageCode( TranslateDownloadManager 556 chrome/browser/translate/translate_manager.cc TranslateDownloadManager::GetInstance()->application_locale())); TranslateDownloadManager 558 chrome/browser/translate/translate_manager.cc if (TranslateDownloadManager::IsSupportedLanguage(ui_lang)) TranslateDownloadManager 566 chrome/browser/translate/translate_manager.cc std::string lang_code = TranslateDownloadManager::GetLanguageCode(*iter); TranslateDownloadManager 567 chrome/browser/translate/translate_manager.cc if (TranslateDownloadManager::IsSupportedLanguage(lang_code)) TranslateDownloadManager 585 chrome/browser/translate/translate_manager.cc TranslateDownloadManager::GetLanguageCode(auto_target_lang); TranslateDownloadManager 586 chrome/browser/translate/translate_manager.cc if (TranslateDownloadManager::IsSupportedLanguage(auto_target_lang)) TranslateDownloadManager 186 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetInstance()->SetTranslateScriptExpirationDelay( TranslateDownloadManager 258 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager* download_manager = TranslateDownloadManager 259 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetInstance(); TranslateDownloadManager 290 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetInstance()->set_application_locale( TranslateDownloadManager 389 chrome/browser/translate/translate_manager_render_view_host_unittest.cc std::string target_language = TranslateDownloadManager::GetLanguageCode( TranslateDownloadManager 593 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::IsSupportedLanguage(lang) && lang != "en"; TranslateDownloadManager 621 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetSupportedLanguages(&default_supported_languages); TranslateDownloadManager 627 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetSupportedLanguages(¤t_supported_languages); TranslateDownloadManager 634 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetSupportedLanguages(¤t_supported_languages); TranslateDownloadManager 641 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetSupportedLanguages(¤t_supported_languages); TranslateDownloadManager 656 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_EQ(TranslateDownloadManager::IsAlphaLanguage(lang), is_alpha); TranslateDownloadManager 680 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetSupportedLanguages(&default_supported_languages); TranslateDownloadManager 686 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateDownloadManager::GetSupportedLanguages(¤t_supported_languages); TranslateDownloadManager 699 chrome/browser/translate/translate_manager_render_view_host_unittest.cc EXPECT_FALSE(TranslateDownloadManager::IsAlphaLanguage(lang)); TranslateDownloadManager 36 chrome/browser/translate/translate_service.cc TranslateDownloadManager* download_manager = TranslateDownloadManager 37 chrome/browser/translate/translate_service.cc TranslateDownloadManager::GetInstance(); TranslateDownloadManager 46 chrome/browser/translate/translate_service.cc TranslateDownloadManager* download_manager = TranslateDownloadManager 47 chrome/browser/translate/translate_service.cc TranslateDownloadManager::GetInstance(); TranslateDownloadManager 61 chrome/browser/translate/translate_service.cc TranslateDownloadManager::GetInstance()->ResetForTesting(); TranslateDownloadManager 68 chrome/browser/translate/translate_service.cc TranslateDownloadManager::GetInstance()->Shutdown(); TranslateDownloadManager 73 chrome/browser/translate/translate_service.cc TranslateDownloadManager::GetInstance()->language_list(); TranslateDownloadManager 47 chrome/browser/translate/translate_ui_delegate.cc TranslateDownloadManager::GetSupportedLanguages(&language_codes); TranslateDownloadManager 71 chrome/browser/ui/views/translate/translate_bubble_view.cc *source = TranslateDownloadManager::GetLanguageCode(*source); TranslateDownloadManager 135 chrome/browser/ui/webui/options/language_options_handler_common.cc TranslateDownloadManager::GetSupportedLanguages(&languages); TranslateDownloadManager 41 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc TranslateDownloadManager::GetInstance()->language_list(); TranslateDownloadManager 209 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc TranslateDownloadManager::GetSupportedLanguages(&languages); TranslateDownloadManager 211 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc TranslateDownloadManager::GetSupportedLanguagesLastUpdated(); TranslateDownloadManager 219 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc if (TranslateDownloadManager::IsAlphaLanguage(lang)) TranslateDownloadManager 40 components/translate/core/browser/translate_accept_languages.cc TranslateDownloadManager::GetInstance()->application_locale(); TranslateDownloadManager 15 components/translate/core/browser/translate_download_manager.cc TranslateDownloadManager* TranslateDownloadManager::GetInstance() { TranslateDownloadManager 16 components/translate/core/browser/translate_download_manager.cc return Singleton<TranslateDownloadManager>::get(); TranslateDownloadManager 19 components/translate/core/browser/translate_download_manager.cc TranslateDownloadManager::TranslateDownloadManager() TranslateDownloadManager 23 components/translate/core/browser/translate_download_manager.cc TranslateDownloadManager::~TranslateDownloadManager() {} TranslateDownloadManager 25 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::Shutdown() { TranslateDownloadManager 32 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::RequestLanguageList() { TranslateDownloadManager 43 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::RequestLanguageList(PrefService* prefs) { TranslateDownloadManager 56 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::GetSupportedLanguages( TranslateDownloadManager 68 components/translate/core/browser/translate_download_manager.cc base::Time TranslateDownloadManager::GetSupportedLanguagesLastUpdated() { TranslateDownloadManager 79 components/translate/core/browser/translate_download_manager.cc std::string TranslateDownloadManager::GetLanguageCode( TranslateDownloadManager 91 components/translate/core/browser/translate_download_manager.cc bool TranslateDownloadManager::IsSupportedLanguage( TranslateDownloadManager 103 components/translate/core/browser/translate_download_manager.cc bool TranslateDownloadManager::IsAlphaLanguage(const std::string& language) { TranslateDownloadManager 113 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::ClearTranslateScriptForTesting() { TranslateDownloadManager 121 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::ResetForTesting() { TranslateDownloadManager 126 components/translate/core/browser/translate_download_manager.cc void TranslateDownloadManager::SetTranslateScriptExpirationDelay(int delay_ms) { TranslateDownloadManager 22 components/translate/core/browser/translate_download_manager.h class TranslateDownloadManager { TranslateDownloadManager 25 components/translate/core/browser/translate_download_manager.h static TranslateDownloadManager* GetInstance(); TranslateDownloadManager 90 components/translate/core/browser/translate_download_manager.h friend struct DefaultSingletonTraits<TranslateDownloadManager>; TranslateDownloadManager 91 components/translate/core/browser/translate_download_manager.h TranslateDownloadManager(); TranslateDownloadManager 92 components/translate/core/browser/translate_download_manager.h virtual ~TranslateDownloadManager(); TranslateDownloadManager 299 components/translate/core/browser/translate_language_list.cc TranslateDownloadManager::GetInstance()->application_locale(); TranslateDownloadManager 452 components/translate/core/browser/translate_prefs.cc TranslateDownloadManager::GetInstance()->application_locale(); TranslateDownloadManager 453 components/translate/core/browser/translate_prefs.cc std::string ui_lang = TranslateDownloadManager::GetLanguageCode(app_locale); TranslateDownloadManager 15 components/translate/core/browser/translate_prefs_unittest.cc TranslateDownloadManager::GetInstance()->set_application_locale("en"); TranslateDownloadManager 76 components/translate/core/browser/translate_prefs_unittest.cc TranslateDownloadManager::GetInstance()->set_application_locale("en"); TranslateDownloadManager 101 components/translate/core/browser/translate_prefs_unittest.cc TranslateDownloadManager::GetInstance()->set_application_locale("ja"); TranslateDownloadManager 27 components/translate/core/browser/translate_script_unittest.cc TranslateDownloadManager::GetInstance()->set_application_locale("en"); TranslateDownloadManager 54 components/translate/core/browser/translate_url_fetcher.cc TranslateDownloadManager::GetInstance()->request_context()); TranslateDownloadManager 32 components/translate/core/browser/translate_url_util.cc TranslateDownloadManager::GetLanguageCode( TranslateDownloadManager 33 components/translate/core/browser/translate_url_util.cc TranslateDownloadManager::GetInstance()->application_locale()));