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

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

Issue 2893943004: Refactor UKM interface for mojo-ification (Closed)
Patch Set: Fixed contextualsearch Created 3 years, 7 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 d4f461e52e3d0c73aef460ce51c7974fe8e87433..fa3eb4b3936f215a1e6946ce71b15fcc7bec7c55 100644
--- a/components/translate/core/browser/translate_ranker_impl.h
+++ b/components/translate/core/browser/translate_ranker_impl.h
@@ -25,7 +25,7 @@ class RankerModel;
} // namespace chrome_intelligence
namespace ukm {
-class UkmService;
+class UkmRecorder;
} // namespace ukm
namespace metrics {
@@ -84,7 +84,7 @@ class TranslateRankerImpl : public TranslateRanker {
public:
TranslateRankerImpl(const base::FilePath& model_path,
const GURL& model_url,
- ukm::UkmService* ukm_service);
+ ukm::UkmRecorder* ukm_recorder);
~TranslateRankerImpl() override;
// Get the file path of the translate ranker model, by default with a fixed
@@ -136,7 +136,7 @@ class TranslateRankerImpl : public TranslateRanker {
const GURL& url);
// Used to log URL-keyed metrics. This pointer will outlive |this|.
- ukm::UkmService* ukm_service_;
+ ukm::UkmRecorder* ukm_recorder_;
// Used to sanity check the threading of this ranker.
base::SequenceChecker sequence_checker_;
« no previous file with comments | « components/payments/core/test_payment_request_delegate.cc ('k') | components/translate/core/browser/translate_ranker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698