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.
4 
5 #include "components/component_updater/component_updater_url_constants.h"
6 
7 namespace component_updater {
8 
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.
12 //
13 // The responses to the requests made to these endpoints are always signed.
14 //
15 // The value of |kDefaultUrlSource| can be overridden with
16 // --component-updater=url-source=someurl.
17 const char kUpdaterJSONDefaultUrl[] =
18     "https://update.googleapis.com/service/update2/json";
19 
20 const char kUpdaterJSONFallbackUrl[] =
21     "http://update.googleapis.com/service/update2/json";
22 
23 }  // namespace component_updater
24