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

Unified Diff: components/translate/core/browser/language_state_unittest.cc

Issue 292513002: Remove dependency of TranslateInfobarDelegate on chrome/ and content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments 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: components/translate/core/browser/language_state_unittest.cc
diff --git a/components/translate/core/browser/language_state_unittest.cc b/components/translate/core/browser/language_state_unittest.cc
index 9c81fdd95e9fc221fdcec65a2c57d8cc38175125..9f7d84ae4a0331a6d52dbd19a2f5553e93816d1b 100644
--- a/components/translate/core/browser/language_state_unittest.cc
+++ b/components/translate/core/browser/language_state_unittest.cc
@@ -69,6 +69,8 @@ class MockTranslateDriver : public TranslateDriver {
virtual int GetCurrentPageID() OVERRIDE { return 0; }
+ virtual void OpenUrlInNewTab(const GURL& url) OVERRIDE {}
+
bool on_is_page_translated_changed_called() const {
return on_is_page_translated_changed_called_;
}
« no previous file with comments | « components/translate/content/browser/content_translate_driver.cc ('k') | components/translate/core/browser/translate_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698