• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright (C) 2015 The Android Open Source Project
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //      http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 
17 #include "update_engine/common/platform_constants.h"
18 
19 namespace chromeos_update_engine {
20 namespace constants {
21 
22 const char kOmahaDefaultProductionURL[] =
23     "https://tools.google.com/service/update2";
24 const char kOmahaDefaultAUTestURL[] =
25     "https://omaha.sandbox.google.com/service/update2";
26 const char kOmahaUpdaterID[] = "ChromeOSUpdateEngine";
27 const char kOmahaPlatformName[] = "Chrome OS";
28 const char kUpdatePayloadPublicKeyPath[] =
29     "/usr/share/update_engine/update-payload-key.pub.pem";
30 const char kCACertificatesPath[] = "/usr/share/chromeos-ca-certificates";
31 const char kOmahaResponseDeadlineFile[] =
32     "/tmp/update-check-response-deadline";
33 // This directory is wiped during powerwash.
34 const char kNonVolatileDirectory[] = "/var/lib/update_engine";
35 const char kPostinstallMountOptions[] = nullptr;
36 
37 }  // namespace constants
38 }  // namespace chromeos_update_engine
39