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

Unified Diff: chromecast/browser/metrics/cast_metrics_service_client.h

Issue 1859213002: Move the thread hop for UMA user actions from content:: to base::. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Answered Alexei and Ilya. Created 4 years, 8 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: chromecast/browser/metrics/cast_metrics_service_client.h
diff --git a/chromecast/browser/metrics/cast_metrics_service_client.h b/chromecast/browser/metrics/cast_metrics_service_client.h
index af88142c7f8be187ec02187a54f7417dbb705afa..8975d74015da08808b8a0d0146d20279e87a3248 100644
--- a/chromecast/browser/metrics/cast_metrics_service_client.h
+++ b/chromecast/browser/metrics/cast_metrics_service_client.h
@@ -81,6 +81,8 @@ class CastMetricsServiceClient : public ::metrics::MetricsServiceClient {
std::unique_ptr<::metrics::MetricsLogUploader> CreateUploader(
const base::Callback<void(int)>& on_upload_complete) override;
base::TimeDelta GetStandardUploadInterval() override;
+ scoped_refptr<base::SingleThreadTaskRunner> GetMainThreadTaskRunner()
+ override;
// Starts/stops the metrics service.
void EnableMetricsService(bool enabled);

Powered by Google App Engine
This is Rietveld 408576698