| // Copyright 2018 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. |
| |
| #ifndef SERVICES_DEVICE_PUBLIC_INTERFACES_SCREEN_ORIENTATION_MOJOM_SHARED_MESSAGE_IDS_H_ |
| #define SERVICES_DEVICE_PUBLIC_INTERFACES_SCREEN_ORIENTATION_MOJOM_SHARED_MESSAGE_IDS_H_ |
| |
| #include <stdint.h> |
| namespace device { |
| namespace mojom { |
| |
| namespace internal { |
| |
| |
| // The 831104698 value is based on sha256(salt + "ScreenOrientation1"). |
| constexpr uint32_t kScreenOrientation_LockOrientation_Name = 831104698; |
| // The 124006016 value is based on sha256(salt + "ScreenOrientation2"). |
| constexpr uint32_t kScreenOrientation_UnlockOrientation_Name = 124006016; |
| // The 1221021290 value is based on sha256(salt + "ScreenOrientationListener1"). |
| constexpr uint32_t kScreenOrientationListener_Start_Name = 1221021290; |
| // The 440657319 value is based on sha256(salt + "ScreenOrientationListener2"). |
| constexpr uint32_t kScreenOrientationListener_Stop_Name = 440657319; |
| // The 15683051 value is based on sha256(salt + "ScreenOrientationListener3"). |
| constexpr uint32_t kScreenOrientationListener_IsAutoRotateEnabledByUser_Name = 15683051; |
| |
| } // namespace internal |
| } // namespace mojom |
| } // namespace device |
| |
| #endif // SERVICES_DEVICE_PUBLIC_INTERFACES_SCREEN_ORIENTATION_MOJOM_SHARED_MESSAGE_IDS_H_ |