OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/component_updater/ios_component_updater_configurato
r.h" | 5 #include "ios/chrome/browser/component_updater/ios_component_updater_configurato
r.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/threading/sequenced_worker_pool.h" | 11 #include "base/threading/sequenced_worker_pool.h" |
11 #include "base/version.h" | 12 #include "base/version.h" |
12 #include "components/component_updater/configurator_impl.h" | 13 #include "components/component_updater/configurator_impl.h" |
13 #include "components/update_client/out_of_process_patcher.h" | 14 #include "components/update_client/out_of_process_patcher.h" |
14 #include "components/update_client/update_query_params.h" | 15 #include "components/update_client/update_query_params.h" |
15 #include "ios/chrome/browser/application_context.h" | 16 #include "ios/chrome/browser/application_context.h" |
16 #include "ios/chrome/browser/google/google_brand.h" | 17 #include "ios/chrome/browser/google/google_brand.h" |
17 #include "ios/chrome/common/channel_info.h" | 18 #include "ios/chrome/common/channel_info.h" |
18 #include "ios/web/public/web_thread.h" | 19 #include "ios/web/public/web_thread.h" |
19 | 20 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 172 |
172 } // namespace | 173 } // namespace |
173 | 174 |
174 scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator( | 175 scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator( |
175 const base::CommandLine* cmdline, | 176 const base::CommandLine* cmdline, |
176 net::URLRequestContextGetter* context_getter) { | 177 net::URLRequestContextGetter* context_getter) { |
177 return base::MakeShared<IOSConfigurator>(cmdline, context_getter); | 178 return base::MakeShared<IOSConfigurator>(cmdline, context_getter); |
178 } | 179 } |
179 | 180 |
180 } // namespace component_updater | 181 } // namespace component_updater |
OLD | NEW |