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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 11747014: Translate infobar delegate: name the "type_" and "error_" fields "infobar_type_" and "error_type_" … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 12 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/policy/policy_browsertest.cc
===================================================================
--- chrome/browser/policy/policy_browsertest.cc (revision 174909)
+++ chrome/browser/policy/policy_browsertest.cc (working copy)
@@ -1384,7 +1384,8 @@
TranslateInfoBarDelegate* delegate =
infobar_delegate->AsTranslateInfoBarDelegate();
ASSERT_TRUE(delegate);
- EXPECT_EQ(TranslateInfoBarDelegate::BEFORE_TRANSLATE, delegate->type());
+ EXPECT_EQ(TranslateInfoBarDelegate::BEFORE_TRANSLATE,
+ delegate->infobar_type());
EXPECT_EQ("fr", delegate->original_language_code());
// Now force disable translate.

Powered by Google App Engine
This is Rietveld 408576698