chromium/third_party/blink/common/user_agent/user_agent_metadata.cc

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

#include <algorithm>

#include "third_party/blink/public/common/user_agent/user_agent_metadata.h"

#include "base/containers/contains.h"
#include "base/containers/span.h"
#include "base/pickle.h"
#include "net/http/structured_headers.h"
#include "third_party/blink/public/common/features.h"

namespace blink {

namespace {
constexpr uint32_t kVersion =;
}  // namespace

UserAgentBrandVersion::UserAgentBrandVersion(const std::string& ua_brand,
                                             const std::string& ua_version) {}

const std::string UserAgentMetadata::SerializeBrandVersionList(
    const blink::UserAgentBrandList& ua_brand_version_list) {}

const std::string UserAgentMetadata::SerializeBrandFullVersionList() {}

const std::string UserAgentMetadata::SerializeBrandMajorVersionList() {}

const std::string UserAgentMetadata::SerializeFormFactors() {}

// static
std::optional<std::string> UserAgentMetadata::Marshal(
    const std::optional<UserAgentMetadata>& in) {}

// static
std::optional<UserAgentMetadata> UserAgentMetadata::Demarshal(
    const std::optional<std::string>& encoded) {}

bool UserAgentBrandVersion::operator==(const UserAgentBrandVersion& a) const {}

bool operator==(const UserAgentMetadata& a, const UserAgentMetadata& b) {}

// static
UserAgentOverride UserAgentOverride::UserAgentOnly(const std::string& ua) {}

bool operator==(const UserAgentOverride& a, const UserAgentOverride& b) {}

}  // namespace blink