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

Unified Diff: chromecast/base/metrics/cast_metrics_helper.h

Issue 1142513004: Chromecast: MessageLoopProxy cleanup --> SingleThreadTaskRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
« no previous file with comments | « no previous file | chromecast/base/metrics/cast_metrics_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/metrics/cast_metrics_helper.h
diff --git a/chromecast/base/metrics/cast_metrics_helper.h b/chromecast/base/metrics/cast_metrics_helper.h
index 144d9dc3b32282c9012c315821c1120f73726e22..dd4f5f013df701f5be068886df1e204b0559b0c9 100644
--- a/chromecast/base/metrics/cast_metrics_helper.h
+++ b/chromecast/base/metrics/cast_metrics_helper.h
@@ -12,7 +12,7 @@
#include "base/time/time.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace chromecast {
@@ -58,7 +58,7 @@ class CastMetricsHelper {
static CastMetricsHelper* GetInstance();
explicit CastMetricsHelper(
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy);
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner);
virtual ~CastMetricsHelper();
// This function updates the info and stores the startup time of the current
@@ -134,7 +134,7 @@ class CastMetricsHelper {
void LogMediumTimeHistogramEvent(const std::string& name,
const base::TimeDelta& value);
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
// Start time of the most recent app.
base::TimeTicks app_start_time_;
« no previous file with comments | « no previous file | chromecast/base/metrics/cast_metrics_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698