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
3 // found in the LICENSE file.
5 #include "components/component_updater/component_updater_url_constants.h"
7 namespace component_updater {
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
11 // the request to the default URL source fails.
13 // The responses to the requests made to these endpoints are always signed.
15 // The value of |kDefaultUrlSource| can be overridden with
16 // --component-updater=url-source=someurl.
17 const char kUpdaterDefaultUrl[] =
18 "https://update.googleapis.com/service/update2";
20 const char kUpdaterFallbackUrl[] =
21 "http://update.googleapis.com/service/update2";
23 const char kUpdaterJSONDefaultUrl[] =
24 "https://update.googleapis.com/service/update2/json";
26 const char kUpdaterJSONFallbackUrl[] =
27 "http://update.googleapis.com/service/update2/json";
29 } // namespace component_updater