#include "components/feed/core/v2/tasks/wait_for_store_initialize_task.h"
#include <vector>
#include "components/feed/core/proto/v2/store.pb.h"
#include "components/feed/core/v2/feed_store.h"
#include "components/feed/core/v2/feed_stream.h"
#include "components/feed/core/v2/feedstore_util.h"
#include "components/feed/core/v2/test/proto_printer.h"
namespace feed {
WaitForStoreInitializeTask::WaitForStoreInitializeTask(
FeedStore* store,
FeedStream* stream,
base::OnceCallback<void(Result)> callback)
: … { … }
WaitForStoreInitializeTask::~WaitForStoreInitializeTask() = default;
void WaitForStoreInitializeTask::Run() { … }
void WaitForStoreInitializeTask::OnStoreInitialized() { … }
void WaitForStoreInitializeTask::ReadStartupDataDone(
FeedStore::StartupData startup_data) { … }
void WaitForStoreInitializeTask::ClearAllDone(bool clear_ok) { … }
void WaitForStoreInitializeTask::MaybeUpgradeStreamSchema() { … }
void WaitForStoreInitializeTask::UpgradeDone(feedstore::Metadata metadata) { … }
void WaitForStoreInitializeTask::WebFeedStartupDataDone(
FeedStore::WebFeedStartupData data) { … }
void WaitForStoreInitializeTask::Done() { … }
}