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

Unified Diff: components/translate/core/browser/translate_driver.h

Issue 290573013: LanguageState should be owned by TranslateManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inlining the DidNavigate function 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/translate_driver.h
diff --git a/components/translate/core/browser/translate_driver.h b/components/translate/core/browser/translate_driver.h
index 88bb50385390f036d535a59f401769372c493095..0cbb045ef16b421c69da03145db7c29599495f4d 100644
--- a/components/translate/core/browser/translate_driver.h
+++ b/components/translate/core/browser/translate_driver.h
@@ -24,9 +24,6 @@ class TranslateDriver {
// Called when the page is "translated" state of the page changed.
virtual void OnIsPageTranslatedChanged() = 0;
- // Gets the LanguageState associated with the driver.
- virtual LanguageState& GetLanguageState() = 0;
-
// Translates the page contents from |source_lang| to |target_lang|.
virtual void TranslatePage(const std::string& translate_script,
const std::string& source_lang,

Powered by Google App Engine
This is Rietveld 408576698