| Index: chrome/browser/metrics/variations/chrome_variations_service_client.cc
|
| diff --git a/chrome/browser/metrics/variations/chrome_variations_service_client.cc b/chrome/browser/metrics/variations/chrome_variations_service_client.cc
|
| index e4bfb1e89c3aedc9b374a40c625959247eec29a5..6291f8c40bb40bb44b3828a5e32c509015385a96 100644
|
| --- a/chrome/browser/metrics/variations/chrome_variations_service_client.cc
|
| +++ b/chrome/browser/metrics/variations/chrome_variations_service_client.cc
|
| @@ -53,6 +53,11 @@ base::Version GetVersionForSimulation() {
|
| void ClearGoogleUpdateRegistryLabels() {
|
| base::ThreadRestrictions::AssertIOAllowed();
|
|
|
| + // There is nothing to do if this brand does not support integration with
|
| + // Google Update.
|
| + if (!install_static::kUseGoogleUpdateIntegration)
|
| + return;
|
| +
|
| // Note that all registry operations are done here on the UI thread as there
|
| // are no threading restrictions on them.
|
| const bool is_system_install = !InstallUtil::IsPerUserInstall();
|
|
|