Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Side by Side Diff: components/component_updater/configurator_impl.cc

Issue 1362043005: Add extensions code to use common updater in components/update_client/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merged latest origin/master Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/component_updater/configurator_impl.h ('k') | extensions/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 186
187 bool ConfiguratorImpl::DeltasEnabled() const { 187 bool ConfiguratorImpl::DeltasEnabled() const {
188 return deltas_enabled_; 188 return deltas_enabled_;
189 } 189 }
190 190
191 bool ConfiguratorImpl::UseBackgroundDownloader() const { 191 bool ConfiguratorImpl::UseBackgroundDownloader() const {
192 return background_downloads_enabled_; 192 return background_downloads_enabled_;
193 } 193 }
194 194
195 void ConfiguratorImpl::set_enable_alt_source_url(bool enable_alt_source_url) {
196 fallback_to_alt_source_url_enabled_ = enable_alt_source_url;
197 }
198
195 } // namespace component_updater 199 } // namespace component_updater
OLDNEW
« no previous file with comments | « components/component_updater/configurator_impl.h ('k') | extensions/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698