chromium/components/feed/core/v2/web_feed_subscriptions/fetch_subscribed_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_subscribed_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/feedstore_util.h"
#include "components/feed/core/v2/proto_util.h"
#include "components/feed/core/v2/web_feed_subscriptions/wire_to_store.h"

namespace feed {

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

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

void FetchSubscribedWebFeedsTask::Run() {}

void FetchSubscribedWebFeedsTask::RequestComplete(
    FeedNetwork::ApiResult<feedwire::webfeed::ListWebFeedsResponse> response) {}

void FetchSubscribedWebFeedsTask::Done(WebFeedRefreshStatus status) {}

}  // namespace feed