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 "chrome/browser/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 alternative URL for the v3 protocol service endpoint. | 9 // The alternative URL for the v3 protocol service endpoint. |
10 const char kUpdaterAltUrl[] = "http://clients2.google.com/service/update2"; | 10 const char kUpdaterAltUrl[] = "http://clients2.google.com/service/update2"; |
11 | 11 |
12 // The default URL for the v3 protocol service endpoint. In some cases, the | 12 // The default URL for the v3 protocol service endpoint. In some cases, the |
13 // component updater is allowed to fall back to and alternate URL source, if | 13 // component updater is allowed to fall back to and alternate URL source, if |
14 // the request to the default URL source fails. | 14 // the request to the default URL source fails. |
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 } // namespace component_updater | 19 } // namespace component_updater |
OLD | NEW |