#include "components/ntp_tiles/custom_links_store.h"
#include <stdint.h>
#include <memory>
#include <string>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "components/ntp_tiles/pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
namespace ntp_tiles {
namespace {
const char* kDictionaryKeyUrl = …;
const char* kDictionaryKeyTitle = …;
const char* kDictionaryKeyIsMostVisited = …;
}
CustomLinksStore::CustomLinksStore(PrefService* prefs) : … { … }
CustomLinksStore::~CustomLinksStore() = default;
std::vector<CustomLinksManager::Link> CustomLinksStore::RetrieveLinks() { … }
void CustomLinksStore::StoreLinks(
const std::vector<CustomLinksManager::Link>& links) { … }
void CustomLinksStore::ClearLinks() { … }
void CustomLinksStore::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* user_prefs) { … }
}