platform_constants_chromeos.cc revision 14dbd333439f34c648b9f783ffa656ef565de0cc
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
19namespace chromeos_update_engine {
20namespace constants {
21
22const char kOmahaDefaultProductionURL[] =
23    "https://tools.google.com/service/update2";
24const char kOmahaDefaultAUTestURL[] =
25    "https://omaha.sandbox.google.com/service/update2";
26const char kOmahaUpdaterID[] = "ChromeOSUpdateEngine";
27const char kOmahaPlatformName[] = "Chrome OS";
28const char kUpdatePayloadPublicKeyPath[] =
29    "/usr/share/update_engine/update-payload-key.pub.pem";
30const char kCACertificatesPath[] = "/usr/share/chromeos-ca-certificates";
31const char kOmahaResponseDeadlineFile[] =
32    "/tmp/update-check-response-deadline";
33// This directory is wiped during powerwash.
34const char kNonVolatileDirectory[] = "/var/lib/update_engine";
35const char kPostinstallMountOptions[] = nullptr;
36
37}  // namespace constants
38}  // namespace chromeos_update_engine
39