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

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

Issue 2930433004: Send UMA recording state to TranslateRanker. (Closed)
Patch Set: Enable Logging in tests that use Flushing. Created 3 years, 6 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_impl.h
diff --git a/components/translate/core/browser/translate_ranker_impl.h b/components/translate/core/browser/translate_ranker_impl.h
index 61f30ea9b3a3baacb8debd484a1495472610c7fb..6211d4e105627fca5b4cdc8874e825035dd3ef7e 100644
--- a/components/translate/core/browser/translate_ranker_impl.h
+++ b/components/translate/core/browser/translate_ranker_impl.h
@@ -90,10 +90,8 @@ class TranslateRankerImpl : public TranslateRanker {
// from Finch.
static GURL GetModelURL();
- // Override the default enabled/disabled state of translate event logging.
- void EnableLogging(bool value);
-
// TranslateRanker...
+ void EnableLogging(bool value) override;
uint32_t GetModelVersion() const override;
bool ShouldOfferTranslation(
metrics::TranslateEventProto* translate_event) override;
« no previous file with comments | « components/translate/core/browser/translate_ranker.h ('k') | components/translate/core/browser/translate_ranker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698