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

Unified Diff: chrome/browser/translate/chrome_translate_client.h

Issue 2396783002: Add LanguageModel, a keyed service that collects language info from CLD. (Closed)
Patch Set: Created 4 years, 2 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/translate/chrome_translate_client.h
diff --git a/chrome/browser/translate/chrome_translate_client.h b/chrome/browser/translate/chrome_translate_client.h
index cf4a3565eb83e966ab9c3f8b4ead42dfc7066570..f9e2e65e0f56520df897904a122b03e604e46774 100644
--- a/chrome/browser/translate/chrome_translate_client.h
+++ b/chrome/browser/translate/chrome_translate_client.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "chrome/browser/ui/translate/translate_bubble_model.h"
#include "components/translate/content/browser/content_translate_driver.h"
+#include "components/translate/content/browser/language_model_observer.h"
#include "components/translate/core/browser/translate_client.h"
#include "components/translate/core/browser/translate_step.h"
#include "components/translate/core/common/translate_errors.h"
@@ -120,6 +121,7 @@ class ChromeTranslateClient
translate::TranslateErrors::Type error_type);
translate::ContentTranslateDriver translate_driver_;
+ translate::LanguageModelObserver language_model_observer_;
std::unique_ptr<translate::TranslateManager> translate_manager_;
DISALLOW_COPY_AND_ASSIGN(ChromeTranslateClient);

Powered by Google App Engine
This is Rietveld 408576698