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

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

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Run translate unittests on iOS Created 7 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/translate_infobar_delegate.cc
diff --git a/chrome/browser/translate/translate_infobar_delegate.cc b/chrome/browser/translate/translate_infobar_delegate.cc
index 6b60d8677d409a54c46d30fb3a62c782e9cc4045..36cf8f8f3783e8043700690f8b00c8b4f369dd2b 100644
--- a/chrome/browser/translate/translate_infobar_delegate.cc
+++ b/chrome/browser/translate/translate_infobar_delegate.cc
@@ -62,7 +62,7 @@ void TranslateInfoBarDelegate::Create(
// infobar, which is the case when the user started a translation from the
// context menu.
DCHECK(infobar_type == TRANSLATING || infobar_type == AFTER_TRANSLATE);
- DCHECK_EQ(chrome::kUnknownLanguageCode, original_language);
+ DCHECK_EQ(translate::kUnknownLanguageCode, original_language);
}
}
« no previous file with comments | « chrome/browser/translate/translate_infobar_delegate.h ('k') | chrome/browser/translate/translate_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698