#include "remoting/host/security_key/security_key_message.h"
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include "base/functional/callback.h"
#include "base/logging.h"
namespace {
const uint32_t kMaxSecurityKeyMessageByteCount = …;
}
namespace remoting {
const int SecurityKeyMessage::kHeaderSizeBytes = …;
const int SecurityKeyMessage::kMessageTypeSizeBytes = …;
SecurityKeyMessage::SecurityKeyMessage() = default;
SecurityKeyMessage::~SecurityKeyMessage() = default;
bool SecurityKeyMessage::IsValidMessageSize(uint32_t message_size) { … }
SecurityKeyMessageType SecurityKeyMessage::MessageTypeFromValue(int value) { … }
std::unique_ptr<SecurityKeyMessage> SecurityKeyMessage::CreateMessageForTest(
SecurityKeyMessageType type,
const std::string& payload) { … }
bool SecurityKeyMessage::ParseMessage(const std::string& message_data) { … }
}