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> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 } | 156 } |
157 | 157 |
158 std::string ConfiguratorImpl::GetOSLongName() const { | 158 std::string ConfiguratorImpl::GetOSLongName() const { |
159 return version_info::GetOSType(); | 159 return version_info::GetOSType(); |
160 } | 160 } |
161 | 161 |
162 std::string ConfiguratorImpl::ExtraRequestParams() const { | 162 std::string ConfiguratorImpl::ExtraRequestParams() const { |
163 return extra_info_; | 163 return extra_info_; |
164 } | 164 } |
165 | 165 |
| 166 std::string ConfiguratorImpl::GetDownloadPreference() const { |
| 167 return std::string(); |
| 168 } |
| 169 |
166 net::URLRequestContextGetter* ConfiguratorImpl::RequestContext() const { | 170 net::URLRequestContextGetter* ConfiguratorImpl::RequestContext() const { |
167 return url_request_getter_; | 171 return url_request_getter_; |
168 } | 172 } |
169 | 173 |
170 bool ConfiguratorImpl::DeltasEnabled() const { | 174 bool ConfiguratorImpl::DeltasEnabled() const { |
171 return deltas_enabled_; | 175 return deltas_enabled_; |
172 } | 176 } |
173 | 177 |
174 bool ConfiguratorImpl::UseBackgroundDownloader() const { | 178 bool ConfiguratorImpl::UseBackgroundDownloader() const { |
175 return background_downloads_enabled_; | 179 return background_downloads_enabled_; |
176 } | 180 } |
177 | 181 |
178 } // namespace component_updater | 182 } // namespace component_updater |
OLD | NEW |