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

Side by Side Diff: chrome/browser/extensions/updater/chrome_update_client_config.cc

Issue 1610833004: Remove Windows XP SHA-256 and ECDSA logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/version.h" 6 #include "base/version.h"
7 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr ocess.h" 7 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr ocess.h"
8 #include "chrome/browser/extensions/updater/chrome_update_client_config.h" 8 #include "chrome/browser/extensions/updater/chrome_update_client_config.h"
9 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" 9 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h"
10 #include "chrome/common/channel_info.h" 10 #include "chrome/common/channel_info.h"
11 #include "content/public/browser/browser_context.h" 11 #include "content/public/browser/browser_context.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 ChromeUpdateClientConfig::ChromeUpdateClientConfig( 15 ChromeUpdateClientConfig::ChromeUpdateClientConfig(
16 content::BrowserContext* context) 16 content::BrowserContext* context)
17 : impl_(base::CommandLine::ForCurrentProcess(), 17 : impl_(base::CommandLine::ForCurrentProcess(),
18 context->GetRequestContext()) { 18 context->GetRequestContext()) {
19 impl_.set_enable_alt_source_url(false);
20 } 19 }
21 20
22 int ChromeUpdateClientConfig::InitialDelay() const { 21 int ChromeUpdateClientConfig::InitialDelay() const {
23 return impl_.InitialDelay(); 22 return impl_.InitialDelay();
24 } 23 }
25 24
26 int ChromeUpdateClientConfig::NextCheckDelay() const { 25 int ChromeUpdateClientConfig::NextCheckDelay() const {
27 return impl_.NextCheckDelay(); 26 return impl_.NextCheckDelay();
28 } 27 }
29 28
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 return impl_.DeltasEnabled(); 79 return impl_.DeltasEnabled();
81 } 80 }
82 81
83 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const { 82 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const {
84 return impl_.UseBackgroundDownloader(); 83 return impl_.UseBackgroundDownloader();
85 } 84 }
86 85
87 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} 86 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {}
88 87
89 } // namespace extensions 88 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698