#ifndef MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_
#define MOJO_PUBLIC_CPP_BINDINGS_TESTS_ROUTER_TEST_UTIL_H_
#include <stdint.h>
#include <string>
#include <utility>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "mojo/public/cpp/bindings/message.h"
namespace mojo {
namespace test {
class MessageQueue;
void AllocRequestMessage(uint32_t name, const char* text, Message* message);
void AllocResponseMessage(uint32_t name,
const char* text,
uint64_t request_id,
Message* message);
class MessageAccumulator : public MessageReceiver { … };
class ResponseGenerator : public MessageReceiverWithResponderStatus { … };
class LazyResponseGenerator : public ResponseGenerator { … };
}
}
#endif