Chromium Code Reviews| Index: chrome/browser/extensions/updater/chrome_update_client_config.cc |
| diff --git a/chrome/browser/extensions/updater/chrome_update_client_config.cc b/chrome/browser/extensions/updater/chrome_update_client_config.cc |
| index 67d6357e030a59967596f7f8dbc09cb29fcd7d10..e5829d2391c1c586902bb769b80e631c11388ca2 100644 |
| --- a/chrome/browser/extensions/updater/chrome_update_client_config.cc |
| +++ b/chrome/browser/extensions/updater/chrome_update_client_config.cc |
| @@ -2,15 +2,16 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +#include "chrome/browser/extensions/updater/chrome_update_client_config.h" |
|
Devlin
2017/05/16 23:03:09
I think git cl format messed this up - please put
Minh X. Nguyen
2017/06/01 21:04:19
Done.
|
| #include "base/command_line.h" |
| #include "base/version.h" |
| #include "chrome/browser/component_updater/component_patcher_operation_out_of_process.h" |
| #include "chrome/browser/component_updater/component_updater_utils.h" |
| -#include "chrome/browser/extensions/updater/chrome_update_client_config.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 "components/prefs/pref_service.h" |
| +#include "components/update_client/persisted_data.h" |
| #include "components/update_client/update_query_params.h" |
| #include "content/public/browser/browser_context.h" |
| #include "content/public/browser/storage_partition.h" |
| @@ -120,4 +121,9 @@ bool ChromeUpdateClientConfig::IsPerUserInstall() const { |
| ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} |
| +std::unique_ptr<update_client::PersistedData> |
| +ChromeUpdateClientConfig::CreateMetadata() const { |
| + return base::MakeUnique<update_client::PersistedData>(GetPrefService()); |
|
Devlin
2017/05/16 23:03:09
nitty nit: include-what-you-use: #include "base/me
Minh X. Nguyen
2017/06/01 21:04:19
Done.
|
| +} |
| + |
| } // namespace extensions |