| 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 97e99e71a3045c27056573ceeca06d0449e41e9f..9efac18c66c033cc263f8be9ab867a72860c3aae 100644
|
| --- a/chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
| +++ b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
|
| @@ -7,20 +7,25 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/files/file_path.h"
|
| +#include "base/path_service.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "base/threading/sequenced_worker_pool.h"
|
| #include "base/version.h"
|
| #if defined(OS_WIN)
|
| #include "base/win/win_util.h"
|
| #endif
|
| +#include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/component_updater/component_patcher_operation_out_of_process.h"
|
| #include "chrome/browser/google/google_brand.h"
|
| #include "chrome/browser/update_client/chrome_update_query_params_delegate.h"
|
| #include "chrome/common/channel_info.h"
|
| +#include "chrome/common/chrome_paths.h"
|
| #if defined(OS_WIN)
|
| #include "chrome/installer/util/google_update_settings.h"
|
| #endif
|
| #include "components/component_updater/configurator_impl.h"
|
| +#include "components/prefs/pref_service.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| namespace component_updater {
|
| @@ -55,6 +60,7 @@ class ChromeConfigurator : public update_client::Configurator {
|
| bool UseCupSigning() const override;
|
| scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
|
| const override;
|
| + PrefService* GetPrefService() const override;
|
|
|
| private:
|
| friend class base::RefCountedThreadSafe<ChromeConfigurator>;
|
| @@ -172,6 +178,10 @@ ChromeConfigurator::GetSequencedTaskRunner() const {
|
| base::SequencedWorkerPool::CONTINUE_ON_SHUTDOWN);
|
| }
|
|
|
| +PrefService* ChromeConfigurator::GetPrefService() const {
|
| + return g_browser_process->local_state();
|
| +}
|
| +
|
| } // namespace
|
|
|
| scoped_refptr<update_client::Configurator>
|
|
|