#include "components/feed/core/v2/web_feed_subscriptions/query_web_feed_task.h"
#include <algorithm>
#include "base/functional/bind.h"
#include "components/feed/core/proto/v2/wire/consistency_token.pb.h"
#include "components/feed/core/v2/feed_stream.h"
#include "components/feed/core/v2/feedstore_util.h"
#include "components/feed/core/v2/web_feed_subscription_coordinator.h"
#include "components/feed/core/v2/web_feed_subscriptions/web_feed_types.h"
#include "components/feed/core/v2/web_feed_subscriptions/wire_to_store.h"
#include "url/gurl.h"
namespace feed {
QueryWebFeedTask::QueryWebFeedTask(
FeedStream* stream,
const OperationToken& operation_token,
Request request,
base::OnceCallback<void(WebFeedSubscriptions::QueryWebFeedResult)> callback)
: … { … }
QueryWebFeedTask::~QueryWebFeedTask() = default;
void QueryWebFeedTask::Run() { … }
void QueryWebFeedTask::RequestComplete(
FeedNetwork::ApiResult<feedwire::webfeed::QueryWebFeedResponse> result) { … }
void QueryWebFeedTask::Done(WebFeedQueryRequestStatus status) { … }
}