-
Notifications
You must be signed in to change notification settings - Fork 0
/
032.patch
24 lines (22 loc) · 840 Bytes
/
032.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/components/component_updater/configurator_impl.cc 2018-05-16
12:58:55.209480131 -0400
+++ b/components/component_updater/configurator_impl.cc.new
2018-05-16 12:58:31.119061771 -0400
@@ -77,19 +77,6 @@
}
std::vector<GURL> ConfiguratorImpl::UpdateUrl() const {
- if (url_source_override_.is_valid())
- return {GURL(url_source_override_)};
-
- std::vector<GURL> urls =
- base::FeatureList::IsEnabled(kFeatureUpdateClientUseJSON)
- ? std::vector<GURL>{GURL(kUpdaterJSONDefaultUrl),
- GURL(kUpdaterJSONFallbackUrl)}
- : std::vector<GURL>{GURL(kUpdaterDefaultUrl),
- GURL(kUpdaterFallbackUrl)};
- if (require_encryption_)
- update_client::RemoveUnsecureUrls(&urls);
-
- return urls;
}
std::vector<GURL> ConfiguratorImpl::PingUrl() const {