#include "services/preferences/tracked/dictionary_hash_store_contents.h"
#include <ostream>
#include "base/check.h"
#include "base/functional/callback.h"
#include "base/notreached.h"
#include "base/values.h"
namespace {
const char kPreferenceMACs[] = …;
const char kSuperMACPref[] = …;
}
DictionaryHashStoreContents::DictionaryHashStoreContents(
base::Value::Dict& storage)
: … { … }
bool DictionaryHashStoreContents::IsCopyable() const { … }
std::unique_ptr<HashStoreContents> DictionaryHashStoreContents::MakeCopy()
const { … }
std::string_view DictionaryHashStoreContents::GetUMASuffix() const { … }
void DictionaryHashStoreContents::Reset() { … }
bool DictionaryHashStoreContents::GetMac(const std::string& path,
std::string* out_value) { … }
bool DictionaryHashStoreContents::GetSplitMacs(
const std::string& path,
std::map<std::string, std::string>* split_macs) { … }
void DictionaryHashStoreContents::SetMac(const std::string& path,
const std::string& value) { … }
void DictionaryHashStoreContents::SetSplitMac(const std::string& path,
const std::string& split_path,
const std::string& value) { … }
void DictionaryHashStoreContents::ImportEntry(const std::string& path,
const base::Value* in_value) { … }
bool DictionaryHashStoreContents::RemoveEntry(const std::string& path) { … }
std::string DictionaryHashStoreContents::GetSuperMac() const { … }
void DictionaryHashStoreContents::SetSuperMac(const std::string& super_mac) { … }
const base::Value::Dict* DictionaryHashStoreContents::GetContents() const { … }
base::Value::Dict* DictionaryHashStoreContents::GetMutableContents(
bool create_if_null) { … }