crosapi_constants.cc 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2020 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. #include "chromeos/crosapi/cpp/crosapi_constants.h"
  5. namespace crosapi {
  6. // The prefix for a Wayland app id for a Lacros browser window. The full ID is
  7. // suffixed with a serialized unguessable token unique to each window. The
  8. // trailing "." is intentional.
  9. const char kLacrosAppIdPrefix[] = "org.chromium.lacros.";
  10. // The default user-data-directory for Lacros.
  11. // NOTE: This is security sensitive. The directory must be inside the encrypted
  12. // user data partition.
  13. const char kLacrosUserDataPath[] = "/home/chronos/user/lacros";
  14. // The file name of shared resource file.
  15. const char kSharedResourcesPackName[] = "resources_for_sharing.rspak";
  16. const char kSharedChrome100PercentPackName[] =
  17. "chrome_100_percent_for_sharing.rspak";
  18. const char kSharedChrome200PercentPackName[] =
  19. "chrome_200_percent_for_sharing.rspak";
  20. // Release channel key in /etc/lsb-release.
  21. const char kChromeOSReleaseTrack[] = "CHROMEOS_RELEASE_TRACK";
  22. // Release channel values in /etc/lsb-release.
  23. const char kReleaseChannelCanary[] = "canary-channel";
  24. const char kReleaseChannelDev[] = "dev-channel";
  25. const char kReleaseChannelBeta[] = "beta-channel";
  26. const char kReleaseChannelStable[] = "stable-channel";
  27. // Commandline flag whose value is the FD connected to Crosapi.
  28. const char kCrosapiMojoPlatformChannelHandle[] =
  29. "crosapi-mojo-platform-channel-handle";
  30. } // namespace crosapi