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

Side by Side Diff: components/component_updater/component_updater_url_constants.cc

Issue 2654033009: Update component updater URLs. (Closed)
Patch Set: Created 3 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 "components/component_updater/component_updater_url_constants.h" 5 #include "components/component_updater/component_updater_url_constants.h"
6 6
7 namespace component_updater { 7 namespace component_updater {
8 8
9 // The default URL for the v3 protocol service endpoint. In some cases, the 9 // The default URL for the v3 protocol service endpoint. In some cases, the
10 // component updater is allowed to fall back to other URL endpoints, if 10 // component updater is allowed to fall back to other URL endpoints, if
11 // the request to the default URL source fails. 11 // the request to the default URL source fails.
12 // 12 //
13 // The responses to the requests made to these endpoints are always signed. 13 // The responses to the requests made to these endpoints are always signed.
14 // 14 //
15 // The value of |kDefaultUrlSource| can be overridden with 15 // The value of |kDefaultUrlSource| can be overridden with
16 // --component-updater=url-source=someurl. 16 // --component-updater=url-source=someurl.
17 const char kUpdaterDefaultUrl[] = "https://clients2.google.com/service/update2"; 17 const char kUpdaterDefaultUrl[] = "https://clients2.google.com/service/update2";
18 18
19 const char kUpdaterFallbackUrl[] = "http://clients2.google.com/service/update2"; 19 const char kUpdaterFallbackUrl[] = "http://clients2.google.com/service/update2";
20 20
21 const char kUpdaterDefaultUrlAlt[] =
rkaplow 2017/01/27 17:28:38 nit, I'd call it it AltUrl so it ends with Url but
waffles 2017/01/27 18:14:36 I see the point but I have a preference to just ad
22 "https://update.googleapis.com/service/update2";
23
24 const char kUpdaterFallbackUrlAlt[] =
25 "http://update.googleapis.com/service/update2";
21 } // namespace component_updater 26 } // namespace component_updater
OLDNEW
« no previous file with comments | « components/component_updater/component_updater_url_constants.h ('k') | components/component_updater/configurator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698