chromium/components/content_settings/core/common/content_settings_partition_key.cc

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

#include "components/content_settings/core/common/content_settings_partition_key.h"

#include <optional>

#include "base/check.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/values.h"

namespace content_settings {

#if BUILDFLAG(IS_IOS)
// static
const PartitionKey& PartitionKey::GetDefault() {
  return GetDefaultImpl();
}
#endif  // BUILDFLAG(IS_IOS)

// static
const PartitionKey& PartitionKey::GetDefaultForTesting() {}

// static
PartitionKey PartitionKey::CreateForTesting(std::string domain,
                                            std::string name,
                                            bool in_memory) {}

// static
const PartitionKey& PartitionKey::WipGetDefault() {}

// static
std::optional<PartitionKey> PartitionKey::Deserialize(const std::string& data) {}

std::string PartitionKey::Serialize() const {}

PartitionKey::PartitionKey(const PartitionKey& key) = default;
PartitionKey::PartitionKey(PartitionKey&& key) = default;
std::strong_ordering PartitionKey::operator<=>(const PartitionKey&) const =
    default;
bool PartitionKey::operator==(const PartitionKey&) const = default;

// static
const PartitionKey& PartitionKey::GetDefaultImpl() {}

PartitionKey::PartitionKey() :{}

PartitionKey::PartitionKey(std::string domain, std::string name, bool in_memory)
    :{}

std::ostream& operator<<(std::ostream& os, const PartitionKey& key) {}

}  // namespace content_settings