| 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 84baa7bd97584baed5585647cabfce928fa1b330..72b8aded466728e7e54139baec8ba5269ccacc4d 100644
|
| --- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
|
| +++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/version.h"
|
| #include "components/component_updater/configurator_impl.h"
|
| #include "components/update_client/component_patcher_operation.h"
|
| +#include "components/update_client/persisted_data.h"
|
| #include "components/update_client/update_query_params.h"
|
| #include "ios/chrome/browser/application_context.h"
|
| #include "ios/chrome/browser/google/google_brand.h"
|
| @@ -52,6 +53,7 @@ class IOSConfigurator : public update_client::Configurator {
|
| const override;
|
| PrefService* GetPrefService() const override;
|
| bool IsPerUserInstall() const override;
|
| + update_client::PersistedData* CreateMetadata() const override;
|
|
|
| private:
|
| friend class base::RefCountedThreadSafe<IOSConfigurator>;
|
| @@ -169,6 +171,10 @@ bool IOSConfigurator::IsPerUserInstall() const {
|
| return true;
|
| }
|
|
|
| +update_client::PersistedData* IOSConfigurator::CreateMetadata() const {
|
| + return new update_client::PersistedData(GetPrefService());
|
| +}
|
| +
|
| } // namespace
|
|
|
| scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator(
|
|
|