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

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..586554b8509ba4179146688ca7db9e4311ef6422 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();
+ // Destroy itself in appropriate thread.
gunsch 2015/01/09 18:56:19 nit: "Destroy" --> "Destroys"
gfhuang 2015/01/09 19:10:46 Done.
+ void DestroySelf();
+
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