#include <stdint.h>
#include "ipc/ipc_buildflags.h"
#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
#define IPC_MESSAGE_MACROS_LOG_ENABLED
#include "content/public/common/content_ipc_logging.h"
#define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger) …
#include "content/common/all_messages.h"
#include "base/lazy_instance.h"
namespace content {
namespace {
base::LazyInstance<std::unordered_map<uint32_t, LogFunction>>::Leaky
g_log_function_mapping = …;
}
void RegisterIPCLogger(uint32_t msg_id, LogFunction logger) { … }
}
#endif