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

Unified Diff: chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/ui/cocoa/infobars/after_translate_infobar_controller.mm
diff --git a/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm b/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
index fc627eb78c664b6e2031c30a88cb7dccb1732e9a..6c18f58cd0fe0c7ade1709f94a3ae86147294b7c 100644
--- a/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
+++ b/chrome/browser/ui/cocoa/infobars/after_translate_infobar_controller.mm
@@ -13,10 +13,11 @@ using InfoBarUtilities::VerifyControlOrderAndSpacing;
@implementation AfterTranslateInfobarController
- (void)loadLabelText {
- autodeterminedSourceLanguage_ = ([self delegate]->original_language_index() ==
- TranslateInfoBarDelegate::kNoIndex);
+ autodeterminedSourceLanguage_ =
+ ([self delegate]->original_language_index() ==
+ translate::TranslateInfoBarDelegate::kNoIndex);
std::vector<base::string16> strings;
- TranslateInfoBarDelegate::GetAfterTranslateStrings(
+ translate::TranslateInfoBarDelegate::GetAfterTranslateStrings(
&strings, &swappedLanugageButtons_, autodeterminedSourceLanguage_);
DCHECK_EQ(autodeterminedSourceLanguage_ ? 2U : 3U, strings.size());
[label1_ setStringValue:base::SysUTF16ToNSString(strings[0])];

Powered by Google App Engine
This is Rietveld 408576698