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