| Index: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
|
| diff --git a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
|
| index ea16f56f3c78a818ee270d3c965dcf38fd9c37ba..0ad785b51fac8c659fcb38dbb7dc0878fedfc5cd 100644
|
| --- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
|
| +++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
|
| @@ -12,6 +12,7 @@
|
| #include "components/component_updater/configurator_impl.h"
|
| #include "components/update_client/component_patcher_operation.h"
|
| #include "ios/chrome/browser/application_context.h"
|
| +#include "ios/chrome/browser/google/google_brand.h"
|
| #include "ios/chrome/common/channel_info.h"
|
| #include "ios/web/public/web_thread.h"
|
|
|
| @@ -34,6 +35,7 @@ class IOSConfigurator : public update_client::Configurator {
|
| std::vector<GURL> PingUrl() const override;
|
| base::Version GetBrowserVersion() const override;
|
| std::string GetChannel() const override;
|
| + std::string GetBrand() const override;
|
| std::string GetLang() const override;
|
| std::string GetOSLongName() const override;
|
| std::string ExtraRequestParams() const override;
|
| @@ -96,6 +98,12 @@ std::string IOSConfigurator::GetChannel() const {
|
| return GetChannelString();
|
| }
|
|
|
| +std::string IOSConfigurator::GetBrand() const {
|
| + std::string brand;
|
| + ios::google_brand::GetBrand(&brand);
|
| + return brand;
|
| +}
|
| +
|
| std::string IOSConfigurator::GetLang() const {
|
| return GetApplicationContext()->GetApplicationLocale();
|
| }
|
|
|