#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "base/message_loop/message_pump_type.h"
#include "base/pickle.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "build/build_config.h"
#include "ipc/ipc_message.h"
#include "ipc/ipc_test_base.h"
#include "ipc/message_filter.h"
#define IPC_MESSAGE_IMPL
#include "ipc/ipc_channel_proxy_unittest_messages.h"
#include "ipc/struct_constructor_macros.h"
#include "ipc/ipc_channel_proxy_unittest_messages.h"
#include "ipc/param_traits_write_macros.h"
namespace IPC {
#include "ipc/ipc_channel_proxy_unittest_messages.h"
}
#include "ipc/param_traits_read_macros.h"
namespace IPC {
#include "ipc/ipc_channel_proxy_unittest_messages.h"
}
#include "ipc/param_traits_log_macros.h"
namespace IPC {
#include "ipc/ipc_channel_proxy_unittest_messages.h"
}
namespace {
void CreateRunLoopAndRun(raw_ptr<base::RunLoop>* run_loop_ptr) { … }
class QuitListener : public IPC::Listener { … };
class ChannelReflectorListener : public IPC::Listener { … };
class MessageCountFilter : public IPC::MessageFilter { … };
class IPCChannelProxyTest : public IPCChannelMojoTestBase { … };
TEST_F(IPCChannelProxyTest, MessageClassFilters) { … }
TEST_F(IPCChannelProxyTest, GlobalAndMessageClassFilters) { … }
TEST_F(IPCChannelProxyTest, FilterRemoval) { … }
TEST_F(IPCChannelProxyTest, BadMessageOnListenerThread) { … }
TEST_F(IPCChannelProxyTest, BadMessageOnIPCThread) { … }
class IPCChannelBadMessageTest : public IPCChannelMojoTestBase { … };
TEST_F(IPCChannelBadMessageTest, BadMessage) { … }
DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(ChannelProxyClient) { … }
}