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

Unified Diff: components/browser_watcher/watcher_metrics_provider_win.h

Issue 868163002: Only report exit funnels for canary and dev channels. (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: components/browser_watcher/watcher_metrics_provider_win.h
diff --git a/components/browser_watcher/watcher_metrics_provider_win.h b/components/browser_watcher/watcher_metrics_provider_win.h
index d2a47545a5677375d5278de2897e6b97981de1a2..0004be3b7604102d0ae058ca8394de6ca5e69a95 100644
--- a/components/browser_watcher/watcher_metrics_provider_win.h
+++ b/components/browser_watcher/watcher_metrics_provider_win.h
@@ -27,7 +27,10 @@ class WatcherMetricsProviderWin : public metrics::MetricsProvider {
static const char kBrowserExitCodeHistogramName[];
static const char kExitFunnelHistogramPrefix[];
- explicit WatcherMetricsProviderWin(const base::char16* registry_path);
+ // Initializes the reporter. If |report_exit_funnels| is false, the provider
+ // will clear the registry data, but not report it.
+ WatcherMetricsProviderWin(const base::char16* registry_path,
+ bool report_exit_funnels);
~WatcherMetricsProviderWin();
// metrics::MetricsProvider implementation.
@@ -36,6 +39,7 @@ class WatcherMetricsProviderWin : public metrics::MetricsProvider {
private:
base::string16 registry_path_;
+ bool report_exit_funnels_;
DISALLOW_COPY_AND_ASSIGN(WatcherMetricsProviderWin);
};

Powered by Google App Engine
This is Rietveld 408576698