constants.h 1.0 KB

1234567891011121314151617181920212223242526
  1. // Copyright 2022 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. #ifndef COMPONENTS_APP_CONSTANTS_CONSTANTS_H_
  5. #define COMPONENTS_APP_CONSTANTS_CONSTANTS_H_
  6. #include "base/component_export.h"
  7. namespace app_constants {
  8. // App IDs are a unique internal identifier for apps on Chrome OS. For
  9. // historical reasons, they are a SHA hash of some uniquely identifying
  10. // constant associated with an app, transposed from the [0-9a-f] range to [a-p]
  11. // (the same format used by Chrome's extension IDs). The following are app IDs
  12. // for the Chrome browser application on Chrome OS.
  13. // The ID of the Chrome component application as part of ash.
  14. COMPONENT_EXPORT(APP_CONSTANTS) extern const char kChromeAppId[];
  15. // The ID of the Lacros Chrome browser application that runs outside of ash.
  16. COMPONENT_EXPORT(APP_CONSTANTS) extern const char kLacrosAppId[];
  17. } // namespace app_constants
  18. #endif // COMPONENTS_APP_CONSTANTS_CONSTANTS_H_