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

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

Issue 2400503002: [Translate] Integrate TranslateEventProto UMA logging into TranslateManager. (Closed)
Patch Set: review candidate 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: 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 6444b9b62d9ed25c0fcb7ff19643d1d40129401b..6dda3cb10f30e479011396f19df00a2ddfe398eb 100644
--- a/components/translate/core/browser/translate_ranker.h
+++ b/components/translate/core/browser/translate_ranker.h
@@ -36,6 +36,12 @@ class TranslateRanker {
// Returns true if query or enforcement is enabled.
static bool IsEnabled();
+ // Returns true if enforcement is enabled.
+ static bool IsQueryEnabled();
+
+ // Returns true if enforcement is enabled.
+ static bool IsEnforcementEnabled();
+
// Returns the singleton TranslateRanker instance.
static TranslateRanker* GetInstance();

Powered by Google App Engine
This is Rietveld 408576698