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

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

Issue 2697703004: Allow TranslateRanker to override decisions taken by heuristics. (Closed)
Patch Set: Remove unused include. Created 3 years, 10 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_ranker.h
diff --git a/components/translate/core/browser/translate_ranker.h b/components/translate/core/browser/translate_ranker.h
index 781677a1fdaf5fea1e7d04eb41087863f4ac5a58..e11b4dbfb781e9004dff73c727af62655a2621a0 100644
--- a/components/translate/core/browser/translate_ranker.h
+++ b/components/translate/core/browser/translate_ranker.h
@@ -35,6 +35,9 @@ class TranslateRanker : public KeyedService {
// Returns true if querying is enabled.
virtual bool IsQueryEnabled() = 0;
+ // Returns true if heuristic decisions should be overriden.
+ virtual bool IsDecisionOverrideEnabled() = 0;
+
// Returns the version id for the ranker model.
virtual int GetModelVersion() const = 0;

Powered by Google App Engine
This is Rietveld 408576698