#include "components/feed/core/v2/xsurface_datastore.h"
#include <iterator>
#include "base/logging.h"
#include "base/observer_list.h"
namespace feed {
XsurfaceDatastoreSlice::XsurfaceDatastoreSlice() = default;
XsurfaceDatastoreSlice::~XsurfaceDatastoreSlice() = default;
void XsurfaceDatastoreSlice::UpdateDatastoreEntry(const std::string& key,
const std::string& value) { … }
void XsurfaceDatastoreSlice::RemoveDatastoreEntry(const std::string& key) { … }
const std::string* XsurfaceDatastoreSlice::FindEntry(
const std::string& key) const { … }
std::map<std::string, std::string> XsurfaceDatastoreSlice::GetAllEntries()
const { … }
void XsurfaceDatastoreSlice::AddObserver(
XsurfaceDatastoreDataReader::Observer* o) { … }
void XsurfaceDatastoreSlice::RemoveObserver(
XsurfaceDatastoreDataReader::Observer* o) { … }
XsurfaceDatastoreAggregate::XsurfaceDatastoreAggregate(
std::vector<raw_ptr<XsurfaceDatastoreDataReader>> sources)
: … { … }
XsurfaceDatastoreAggregate::~XsurfaceDatastoreAggregate() { … }
void XsurfaceDatastoreAggregate::AddObserver(
XsurfaceDatastoreDataReader::Observer* o) { … }
void XsurfaceDatastoreAggregate::RemoveObserver(
XsurfaceDatastoreDataReader::Observer* o) { … }
const std::string* XsurfaceDatastoreAggregate::FindEntry(
const std::string& key) const { … }
void XsurfaceDatastoreAggregate::DatastoreEntryUpdated(
XsurfaceDatastoreDataReader* source,
const std::string& key) { … }
void XsurfaceDatastoreAggregate::DatastoreEntryRemoved(
XsurfaceDatastoreDataReader* source,
const std::string& key) { … }
std::map<std::string, std::string> XsurfaceDatastoreAggregate::GetAllEntries()
const { … }
}