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 788a2677b140e170ebfc28b8fb03ef172765cd5c..805db05864e8801351906a5f13c720f72ea0c9e2 100644 |
--- a/components/translate/core/browser/translate_driver.h |
+++ b/components/translate/core/browser/translate_driver.h |
@@ -8,7 +8,6 @@ |
#include <string> |
class GURL; |
-class LanguageState; |
// Interface that allows Translate core code to interact with its driver (i.e., |
// obtain information from it and give information to it). A concrete |
@@ -24,9 +23,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, |