diff options
Diffstat (limited to 'chromium/components/update_client/updater_state.cc')
-rw-r--r-- | chromium/components/update_client/updater_state.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/components/update_client/updater_state.cc b/chromium/components/update_client/updater_state.cc index 7178b540665..5d05c8663aa 100644 --- a/chromium/components/update_client/updater_state.cc +++ b/chromium/components/update_client/updater_state.cc @@ -11,6 +11,7 @@ #include "base/strings/string16.h" #include "base/strings/string_number_conversions.h" #include "base/strings/utf_string_conversions.h" +#include "build/branding_buildflags.h" #include "build/build_config.h" namespace update_client { @@ -40,14 +41,14 @@ std::unique_ptr<UpdaterState::Attributes> UpdaterState::GetState( void UpdaterState::ReadState() { is_enterprise_managed_ = base::IsMachineExternallyManaged(); -#if defined(GOOGLE_CHROME_BUILD) +#if BUILDFLAG(GOOGLE_CHROME_BRANDING) updater_name_ = GetUpdaterName(); updater_version_ = GetUpdaterVersion(is_machine_); last_autoupdate_started_ = GetUpdaterLastStartedAU(is_machine_); last_checked_ = GetUpdaterLastChecked(is_machine_); is_autoupdate_check_enabled_ = IsAutoupdateCheckEnabled(); update_policy_ = GetUpdatePolicy(); -#endif // GOOGLE_CHROME_BUILD +#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING) } #endif // OS_WIN or Mac |