| 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 "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/google/google_brand.h" | 9 #include "chrome/browser/google/google_brand.h" |
| 10 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" | 10 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 net::URLRequestContextGetter* ChromeUpdateClientConfig::RequestContext() const { | 85 net::URLRequestContextGetter* ChromeUpdateClientConfig::RequestContext() const { |
| 86 return impl_.RequestContext(); | 86 return impl_.RequestContext(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 scoped_refptr<update_client::OutOfProcessPatcher> | 89 scoped_refptr<update_client::OutOfProcessPatcher> |
| 90 ChromeUpdateClientConfig::CreateOutOfProcessPatcher() const { | 90 ChromeUpdateClientConfig::CreateOutOfProcessPatcher() const { |
| 91 return make_scoped_refptr(new component_updater::ChromeOutOfProcessPatcher); | 91 return make_scoped_refptr(new component_updater::ChromeOutOfProcessPatcher); |
| 92 } | 92 } |
| 93 | 93 |
| 94 bool ChromeUpdateClientConfig::DeltasEnabled() const { | 94 bool ChromeUpdateClientConfig::EnabledDeltas() const { |
| 95 return impl_.DeltasEnabled(); | 95 return impl_.EnabledDeltas(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const { | 98 bool ChromeUpdateClientConfig::EnabledComponentUpdates() const { |
| 99 return impl_.UseBackgroundDownloader(); | 99 return impl_.EnabledComponentUpdates(); |
| 100 } | 100 } |
| 101 | 101 |
| 102 bool ChromeUpdateClientConfig::UseCupSigning() const { | 102 bool ChromeUpdateClientConfig::EnabledBackgroundDownloader() const { |
| 103 return impl_.UseCupSigning(); | 103 return impl_.EnabledBackgroundDownloader(); |
| 104 } |
| 105 |
| 106 bool ChromeUpdateClientConfig::EnabledCupSigning() const { |
| 107 return impl_.EnabledCupSigning(); |
| 104 } | 108 } |
| 105 | 109 |
| 106 PrefService* ChromeUpdateClientConfig::GetPrefService() const { | 110 PrefService* ChromeUpdateClientConfig::GetPrefService() const { |
| 107 return nullptr; | 111 return nullptr; |
| 108 } | 112 } |
| 109 | 113 |
| 110 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} | 114 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} |
| 111 | 115 |
| 112 } // namespace extensions | 116 } // namespace extensions |
| OLD | NEW |