diff options
Diffstat (limited to 'chrome/installer/util/google_update_settings.h')
-rw-r--r-- | chrome/installer/util/google_update_settings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/installer/util/google_update_settings.h b/chrome/installer/util/google_update_settings.h index a4814fe7..bdc1292 100644 --- a/chrome/installer/util/google_update_settings.h +++ b/chrome/installer/util/google_update_settings.h @@ -23,6 +23,13 @@ class GoogleUpdateSettings { // false if the setting could not be recorded. static bool SetCollectStatsConsent(bool consented); + // Returns the metrics id set in the registry (that can be used in crash + // reports). If none found, returns empty string. + static bool GetMetricsId(std::wstring* metrics_id); + + // Sets the metrics id to be used in crash reports. + static bool SetMetricsId(const std::wstring& metrics_id); + // Sets the machine-wide EULA consented flag required on OEM installs. // Returns false if the setting could not be recorded. static bool SetEULAConsent(bool consented); |