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 "components/component_updater/configurator_impl.h" | 5 #include "components/component_updater/configurator_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 | 10 |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
11 #include "base/strings/string_split.h" | 13 #include "base/strings/string_split.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/version.h" | 15 #include "base/version.h" |
14 #include "build/build_config.h" | 16 #include "build/build_config.h" |
15 #include "components/component_updater/component_updater_switches.h" | 17 #include "components/component_updater/component_updater_switches.h" |
16 #include "components/component_updater/component_updater_url_constants.h" | 18 #include "components/component_updater/component_updater_url_constants.h" |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 192 |
191 bool ConfiguratorImpl::UseBackgroundDownloader() const { | 193 bool ConfiguratorImpl::UseBackgroundDownloader() const { |
192 return background_downloads_enabled_; | 194 return background_downloads_enabled_; |
193 } | 195 } |
194 | 196 |
195 void ConfiguratorImpl::set_enable_alt_source_url(bool enable_alt_source_url) { | 197 void ConfiguratorImpl::set_enable_alt_source_url(bool enable_alt_source_url) { |
196 fallback_to_alt_source_url_enabled_ = enable_alt_source_url; | 198 fallback_to_alt_source_url_enabled_ = enable_alt_source_url; |
197 } | 199 } |
198 | 200 |
199 } // namespace component_updater | 201 } // namespace component_updater |
OLD | NEW |