blob: 97d0666aed04aff74f0b57a81c81b4f6b2fbb52c [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/crosapi/cpp/crosapi_constants.h"
namespace crosapi {
// The prefix for a Wayland app id for a Lacros browser window. The full ID is
// suffixed with a serialized unguessable token unique to each window. The
// trailing "." is intentional.
const char kLacrosAppIdPrefix[] = "org.chromium.lacros.";
// The default user-data-directory for Lacros.
// NOTE: This is security sensitive. The directory must be inside the encrypted
// user data partition.
const char kLacrosUserDataPath[] = "/home/chronos/user/lacros";
// The file name of shared resource file.
const char kSharedResourcesPackName[] = "resources_for_sharing.rspak";
const char kSharedChrome100PercentPackName[] =
"chrome_100_percent_for_sharing.rspak";
const char kSharedChrome200PercentPackName[] =
"chrome_200_percent_for_sharing.rspak";
// Release channel key in /etc/lsb-release.
const char kChromeOSReleaseTrack[] = "CHROMEOS_RELEASE_TRACK";
// Release channel values in /etc/lsb-release.
const char kReleaseChannelCanary[] = "canary-channel";
const char kReleaseChannelDev[] = "dev-channel";
const char kReleaseChannelBeta[] = "beta-channel";
const char kReleaseChannelStable[] = "stable-channel";
// Commandline flag whose value is the FD connected to Crosapi.
const char kCrosapiMojoPlatformChannelHandle[] =
"crosapi-mojo-platform-channel-handle";
} // namespace crosapi