#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[] = …;
}
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;
TopicAndDomains TopicAndDomains::FromDictValue(
const base::Value::Dict& dict_value) { … }
base::Value::Dict TopicAndDomains::ToDictValue() const { … }
void TopicAndDomains::ClearDomain(const HashedDomain& domain) { … }
}