OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/component_updater/chrome_component_updater_configurator
.h" | 5 #include "chrome/browser/component_updater/chrome_component_updater_configurator
.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/sequenced_task_runner.h" |
10 #include "base/strings/sys_string_conversions.h" | 11 #include "base/strings/sys_string_conversions.h" |
11 #include "base/task_scheduler/post_task.h" | 12 #include "base/task_scheduler/post_task.h" |
12 #include "base/version.h" | 13 #include "base/version.h" |
13 #include "build/build_config.h" | 14 #include "build/build_config.h" |
14 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
15 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr
ocess.h" | 16 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr
ocess.h" |
16 #include "chrome/browser/component_updater/component_updater_utils.h" | 17 #include "chrome/browser/component_updater/component_updater_utils.h" |
17 #include "chrome/browser/google/google_brand.h" | 18 #include "chrome/browser/google/google_brand.h" |
18 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" | 19 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" |
19 #include "chrome/common/channel_info.h" | 20 #include "chrome/common/channel_info.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 scoped_refptr<update_client::Configurator> | 210 scoped_refptr<update_client::Configurator> |
210 MakeChromeComponentUpdaterConfigurator( | 211 MakeChromeComponentUpdaterConfigurator( |
211 const base::CommandLine* cmdline, | 212 const base::CommandLine* cmdline, |
212 net::URLRequestContextGetter* context_getter, | 213 net::URLRequestContextGetter* context_getter, |
213 PrefService* pref_service) { | 214 PrefService* pref_service) { |
214 return base::MakeShared<ChromeConfigurator>(cmdline, context_getter, | 215 return base::MakeShared<ChromeConfigurator>(cmdline, context_getter, |
215 pref_service); | 216 pref_service); |
216 } | 217 } |
217 | 218 |
218 } // namespace component_updater | 219 } // namespace component_updater |
OLD | NEW |