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

// Copyright 2022 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/web_feed_metadata_model.h"

#include <ostream>
#include <string_view>

#include "components/feed/core/proto/v2/wire/web_feeds.pb.h"

namespace feed {

WebFeedMetadataModel::WebFeedMetadataModel(
    FeedStore* store,
    std::vector<feedstore::PendingWebFeedOperation> pending_operations)
    :{}

WebFeedMetadataModel::~WebFeedMetadataModel() = default;

void WebFeedMetadataModel::AddPendingOperation(
    feedstore::PendingWebFeedOperation::Kind kind,
    const std::string& web_feed_id,
    feedwire::webfeed::WebFeedChangeReason change_reason) {}

void WebFeedMetadataModel::RemovePendingOperationsForWebFeed(
    std::string_view web_feed_id) {}

void WebFeedMetadataModel::RecordPendingOperationsForWebFeedAttempt(
    std::string_view web_feed_id) {}

WebFeedInFlightChange* WebFeedMetadataModel::FindInFlightChange(
    std::string_view web_feed_id) {}

// static
WebFeedInFlightChange WebFeedMetadataModel::MakePendingInFlightChange(
    const feedstore::PendingWebFeedOperation& operation) {}

WebFeedMetadataModel::Operation* WebFeedMetadataModel::FindOperation(
    std::string_view web_feed_id) {}

std::ostream& operator<<(std::ostream& os,
                         const WebFeedMetadataModel::Operation& op) {}

}  // namespace feed