Index: chrome/install_static/install_util.h |
diff --git a/chrome/install_static/install_util.h b/chrome/install_static/install_util.h |
index be2a99d4751a49c8509b9b5559afe9b048bcb455..b2ffcbebccd3e71061fab03ce0ac9eba5537d802 100644 |
--- a/chrome/install_static/install_util.h |
+++ b/chrome/install_static/install_util.h |
@@ -41,6 +41,9 @@ extern const wchar_t kAppGuidCanary[]; |
extern const wchar_t kAppGuidGoogleChrome[]; |
extern const wchar_t kAppGuidGoogleBinaries[]; |
+extern const wchar_t kChromeMetrics[]; |
+extern const wchar_t kChromeStatsSampleKey[]; |
+ |
// TODO(ananta) |
// https://crbug.com/604923 |
// Unify these constants with env_vars.h. |
@@ -78,6 +81,10 @@ bool GetCollectStatsConsent(); |
// Only used by tests. |
bool GetCollectStatsConsentForTesting(const std::wstring& exe_path); |
+// Returns true if the current executable is curretnly in the chosen sample that |
scottmg
2016/08/11 21:38:03
currently
jwd
2016/08/11 22:02:53
Done.
|
+// will report stats and crashes. |
+bool GetCollectStatsInSample(); |
+ |
// Returns true if if usage stats reporting is controlled by a mandatory |
// policy. |metrics_is_enforced_by_policy| will be set to true accordingly. |
// TODO(ananta) |