chromium/components/browsing_topics/topic_and_domains.cc

// Copyright 2022 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/browsing_topics/topic_and_domains.h"

#include "base/check_op.h"
#include "base/json/values_util.h"
#include "url/gurl.h"

namespace browsing_topics {

namespace {

const char kTopicNameKey[] =;
const char kHashedDomainsNameKey[] =;

}  // namespace

TopicAndDomains::TopicAndDomains() = default;

TopicAndDomains::TopicAndDomains(Topic topic,
                                 std::set<HashedDomain> hashed_domains)
    :{}

TopicAndDomains::TopicAndDomains(TopicAndDomains&& other) = default;

TopicAndDomains& TopicAndDomains::operator=(TopicAndDomains&& other) = default;

TopicAndDomains::~TopicAndDomains() = default;

// static
TopicAndDomains TopicAndDomains::FromDictValue(
    const base::Value::Dict& dict_value) {}

base::Value::Dict TopicAndDomains::ToDictValue() const {}

void TopicAndDomains::ClearDomain(const HashedDomain& domain) {}

}  // namespace browsing_topics