chromium/remoting/host/security_key/security_key_message.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Limit security key messages to 256KB.
const uint32_t kMaxSecurityKeyMessageByteCount =;

}  // namespace

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) {}

}  // namespace remoting