| // 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 COMPONENTS_SERVICES_HEAP_PROFILING_PUBLIC_MOJOM_HEAP_PROFILING_SERVICE_MOJOM_SHARED_MESSAGE_IDS_H_ |
| #define COMPONENTS_SERVICES_HEAP_PROFILING_PUBLIC_MOJOM_HEAP_PROFILING_SERVICE_MOJOM_SHARED_MESSAGE_IDS_H_ |
| |
| #include <stdint.h> |
| namespace heap_profiling { |
| namespace mojom { |
| |
| namespace internal { |
| |
| |
| // The 1181405873 value is based on sha256(salt + "ProfilingService1"). |
| constexpr uint32_t kProfilingService_AddProfilingClient_Name = 1181405873; |
| // The 1038420555 value is based on sha256(salt + "ProfilingService2"). |
| constexpr uint32_t kProfilingService_GetProfiledPids_Name = 1038420555; |
| |
| } // namespace internal |
| } // namespace mojom |
| } // namespace heap_profiling |
| |
| #endif // COMPONENTS_SERVICES_HEAP_PROFILING_PUBLIC_MOJOM_HEAP_PROFILING_SERVICE_MOJOM_SHARED_MESSAGE_IDS_H_ |