| Index: chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
| diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator.cc b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
| index 5acfc4ded9ab9b609eae39e4ad4467a31250b1d3..04191d3a279d9ed5fa4c80fa898e06be2ba3337b 100644
|
| --- a/chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
| +++ b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
| @@ -21,6 +21,7 @@
|
| #include "components/component_updater/configurator_impl.h"
|
| #include "components/prefs/pref_registry_simple.h"
|
| #include "components/prefs/pref_service.h"
|
| +#include "components/update_client/persisted_data.h"
|
| #include "components/update_client/update_query_params.h"
|
|
|
| #if defined(OS_WIN)
|
| @@ -64,6 +65,7 @@ class ChromeConfigurator : 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<ChromeConfigurator>;
|
| @@ -198,6 +200,10 @@ bool ChromeConfigurator::IsPerUserInstall() const {
|
| return component_updater::IsPerUserInstall();
|
| }
|
|
|
| +update_client::PersistedData* ChromeConfigurator::CreateMetadata() const {
|
| + return new update_client::PersistedData(GetPrefService());
|
| +}
|
| +
|
| } // namespace
|
|
|
| void RegisterPrefsForChromeComponentUpdaterConfigurator(
|
|
|