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

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

Issue 291503008: Remove most of chrome/ and content/ usage from TranslateInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/translate_infobar_unittest.mm
diff --git a/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm b/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
index e405c65cd7478596470bdf4fe91995042e49a788..2e7e2892228527add43825bff4199ee3447952cb 100644
--- a/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
+++ b/chrome/browser/ui/cocoa/infobars/translate_infobar_unittest.mm
@@ -40,14 +40,16 @@ class MockTranslateInfoBarDelegate : public TranslateInfoBarDelegate {
translate::TranslateStep step,
TranslateErrors::Type error,
PrefService* prefs)
- : TranslateInfoBarDelegate(web_contents,
- step,
- NULL,
- "en",
- "es",
- error,
- prefs,
- false) {}
+ : TranslateInfoBarDelegate(
+ TranslateTabHelper::GetManagerFromWebContents(web_contents),
+ false,
+ step,
+ NULL,
+ "en",
+ "es",
+ error,
+ prefs,
+ false) {}
MOCK_METHOD0(Translate, void());
MOCK_METHOD0(RevertTranslation, void());

Powered by Google App Engine
This is Rietveld 408576698