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

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

Issue 2400503002: [Translate] Integrate TranslateEventProto UMA logging into TranslateManager. (Closed)
Patch Set: fix trybots Created 4 years, 1 month 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 8687c80ca1dfc26ac80d7fd54d88d5ca4f42a2a2..056f33e4aa6e28e2c9535465e0815d9357b0888f 100644
--- a/components/translate/core/browser/translate_ranker.h
+++ b/components/translate/core/browser/translate_ranker.h
@@ -44,6 +44,12 @@ class TranslateRanker {
// Returns true if translate events logging is enabled.
static bool IsLoggingEnabled();
+ // Returns true if querying is enabled.
+ static bool IsQueryEnabled();
+
+ // Returns true if enforcement is enabled.
+ static bool IsEnforcementEnabled();
+
// Returns the singleton TranslateRanker instance.
static TranslateRanker* GetInstance();
« no previous file with comments | « components/translate/core/browser/translate_manager.cc ('k') | components/translate/core/browser/translate_ranker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698