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

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

Issue 845003002: [chromecast] ExternalMetrics has to destroy itself in file thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/external_metrics.h
diff --git a/chromecast/browser/metrics/external_metrics.h b/chromecast/browser/metrics/external_metrics.h
index 47c74f3eebe26181148211fa67e87f84d529dee1..8ff80d15543629e80869808c6f1a8fef80eeebea 100644
--- a/chromecast/browser/metrics/external_metrics.h
+++ b/chromecast/browser/metrics/external_metrics.h
@@ -30,6 +30,9 @@ class ExternalMetrics {
// File thread but are executed in the UI thread.
void Start();
+ // Destroys itself in appropriate thread.
+ void DestroySelf();
byungchul 2015/01/09 21:23:24 StopAndDestory?
gfhuang 2015/01/09 22:30:18 Done.
+
private:
// The max length of a message (name-value pair, plus header)
static const int kMetricsMessageMaxLength = 1024; // be generous

Powered by Google App Engine
This is Rietveld 408576698