Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7303)

Unified Diff: chrome/browser/translate/translate_manager.cc

Issue 9320015: When translating a page, get the code and translation via HTTPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_manager.cc
===================================================================
--- chrome/browser/translate/translate_manager.cc (revision 119967)
+++ chrome/browser/translate/translate_manager.cc (working copy)
@@ -150,14 +150,15 @@
};
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698