Daniel Cheng | ce364e5a | 2025-04-02 21:27:32 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef IPC_TRACING_HELPERS_H_ |
| 6 | #define IPC_TRACING_HELPERS_H_ |
| 7 | |
| 8 | #include<string_view> |
| 9 | |
| 10 | #include"ipc/tracing_helpers_internal.h" |
| 11 | |
| 12 | namespace ipc{ |
| 13 | |
| 14 | // Calculates the first 32 bits of the MD5 digest of the provided data. Used for |
| 15 | // calculating an ID used for tracing legacy IPC messages. Do not use this in |
| 16 | // new code. |
| 17 | constexpruint32_tGetLegacyIpcTraceId(std::string_viewstring); |
| 18 | |
| 19 | }// namespace ipc |
| 20 | |
| 21 | #endif// IPC_TRACING_HELPERS_H_ |