chromium/components/feed/core/v2/web_feed_subscriptions/fetch_recommended_web_feeds_task.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/feed/core/v2/web_feed_subscriptions/fetch_recommended_web_feeds_task.h"
#include "components/feed/core/proto/v2/wire/web_feeds.pb.h"
#include "components/feed/core/v2/feed_network.h"
#include "components/feed/core/v2/feed_stream.h"
#include "components/feed/core/v2/web_feed_subscriptions/wire_to_store.h"

namespace feed {

FetchRecommendedWebFeedsTask::Result::Result() = default;
FetchRecommendedWebFeedsTask::Result::~Result() = default;
FetchRecommendedWebFeedsTask::Result::Result(const Result&) = default;
FetchRecommendedWebFeedsTask::Result::Result(Result&&) = default;
FetchRecommendedWebFeedsTask::Result&
FetchRecommendedWebFeedsTask::Result::operator=(const Result&) = default;
FetchRecommendedWebFeedsTask::Result&
FetchRecommendedWebFeedsTask::Result::operator=(Result&&) = default;

FetchRecommendedWebFeedsTask::FetchRecommendedWebFeedsTask(
    FeedStream* stream,
    const OperationToken& operation_token,
    base::OnceCallback<void(Result)> callback)
    :{}
FetchRecommendedWebFeedsTask::~FetchRecommendedWebFeedsTask() = default;

void FetchRecommendedWebFeedsTask::Run() {}

void FetchRecommendedWebFeedsTask::RequestComplete(
    FeedNetwork::ApiResult<feedwire::webfeed::ListRecommendedWebFeedsResponse>
        response) {}

void FetchRecommendedWebFeedsTask::Done(WebFeedRefreshStatus status) {}

}  // namespace feed