diff options
-rw-r--r-- | chrome/browser/translate/translate_manager.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/translate/translate_manager.cc b/chrome/browser/translate/translate_manager.cc index 978fcf84..a22b603 100644 --- a/chrome/browser/translate/translate_manager.cc +++ b/chrome/browser/translate/translate_manager.cc @@ -150,14 +150,15 @@ const LanguageCodeSynonym kLanguageCodeSynonyms[] = { }; const char* const kTranslateScriptURL = - "http://translate.google.com/translate_a/element.js?" + "https://translate.google.com/translate_a/element.js?" "cb=cr.googleTranslate.onTranslateElementLoad"; const char* const kTranslateScriptHeader = "Google-Translate-Element-Mode: library"; const char* const kReportLanguageDetectionErrorURL = + // TODO(palmer): bug 112236. Make this https://. "http://translate.google.com/translate_error"; const char* const kLanguageListFetchURL = - "http://translate.googleapis.com/translate_a/l?client=chrome&cb=sl"; + "https://translate.googleapis.com/translate_a/l?client=chrome&cb=sl"; const int kMaxRetryLanguageListFetch = 5; const int kTranslateScriptExpirationDelayDays = 1; |