| 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 6d2692085449d85171b1f0bf80940fa1bd03db30..914f5f2cbcbc0bda0897a83ddd0196a6c63f1dbb 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;
|
| + std::unique_ptr<update_client::PersistedData> CreateMetadata() const override;
|
|
|
| private:
|
| friend class base::RefCountedThreadSafe<ChromeConfigurator>;
|
| @@ -198,6 +200,11 @@ bool ChromeConfigurator::IsPerUserInstall() const {
|
| return component_updater::IsPerUserInstall();
|
| }
|
|
|
| +std::unique_ptr<update_client::PersistedData>
|
| +ChromeConfigurator::CreateMetadata() const {
|
| + return base::MakeUnique<update_client::PersistedData>(GetPrefService());
|
| +}
|
| +
|
| } // namespace
|
|
|
| void RegisterPrefsForChromeComponentUpdaterConfigurator(
|
|
|