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

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

Issue 1398823004: Switch the page-capturing machinery to use the new hooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: chrome/browser/translate/chrome_translate_client.cc
diff --git a/chrome/browser/translate/chrome_translate_client.cc b/chrome/browser/translate/chrome_translate_client.cc
index af7de8ea60c4ad6e441e374472a07524ab39f9bc..184b20e24b27902faa558d675145d74d39434682 100644
--- a/chrome/browser/translate/chrome_translate_client.cc
+++ b/chrome/browser/translate/chrome_translate_client.cc
@@ -277,6 +277,7 @@ void ChromeTranslateClient::WebContentsDestroyed() {
void ChromeTranslateClient::OnLanguageDetermined(
const translate::LanguageDetectionDetails& details) {
+ // LOG(INFO) << "Language Detected: " << details.adopted_language;
// TODO: Remove translate notifications and have the clients be
// ContentTranslateDriver::Observer directly instead.
content::NotificationService::current()->Notify(

Powered by Google App Engine
This is Rietveld 408576698