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/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" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 } | 60 } |
61 | 61 |
62 std::string ChromeUpdateClientConfig::GetOSLongName() const { | 62 std::string ChromeUpdateClientConfig::GetOSLongName() const { |
63 return impl_.GetOSLongName(); | 63 return impl_.GetOSLongName(); |
64 } | 64 } |
65 | 65 |
66 std::string ChromeUpdateClientConfig::ExtraRequestParams() const { | 66 std::string ChromeUpdateClientConfig::ExtraRequestParams() const { |
67 return impl_.ExtraRequestParams(); | 67 return impl_.ExtraRequestParams(); |
68 } | 68 } |
69 | 69 |
| 70 std::string ChromeUpdateClientConfig::GetDownloadPreference() const { |
| 71 return std::string(); |
| 72 } |
| 73 |
70 net::URLRequestContextGetter* ChromeUpdateClientConfig::RequestContext() const { | 74 net::URLRequestContextGetter* ChromeUpdateClientConfig::RequestContext() const { |
71 return impl_.RequestContext(); | 75 return impl_.RequestContext(); |
72 } | 76 } |
73 | 77 |
74 scoped_refptr<update_client::OutOfProcessPatcher> | 78 scoped_refptr<update_client::OutOfProcessPatcher> |
75 ChromeUpdateClientConfig::CreateOutOfProcessPatcher() const { | 79 ChromeUpdateClientConfig::CreateOutOfProcessPatcher() const { |
76 return make_scoped_refptr(new component_updater::ChromeOutOfProcessPatcher); | 80 return make_scoped_refptr(new component_updater::ChromeOutOfProcessPatcher); |
77 } | 81 } |
78 | 82 |
79 bool ChromeUpdateClientConfig::DeltasEnabled() const { | 83 bool ChromeUpdateClientConfig::DeltasEnabled() const { |
80 return impl_.DeltasEnabled(); | 84 return impl_.DeltasEnabled(); |
81 } | 85 } |
82 | 86 |
83 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const { | 87 bool ChromeUpdateClientConfig::UseBackgroundDownloader() const { |
84 return impl_.UseBackgroundDownloader(); | 88 return impl_.UseBackgroundDownloader(); |
85 } | 89 } |
86 | 90 |
87 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} | 91 ChromeUpdateClientConfig::~ChromeUpdateClientConfig() {} |
88 | 92 |
89 } // namespace extensions | 93 } // namespace extensions |
OLD | NEW |