chromium/components/feed/core/v2/web_feed_subscriptions/subscription_datastore_provider.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/subscription_datastore_provider.h"

#include "base/logging.h"
#include "base/strings/strcat.h"
#include "components/feed/core/proto/v2/xsurface.pb.h"
#include "components/feed/core/v2/public/types.h"
#include "components/feed/core/v2/xsurface_datastore.h"

namespace feed {
namespace {
constexpr const char kWebFeedFollowStateKeyPrefix[] =;

feedxsurface::WebFeedFollowState::FollowState ToProtoState(
    WebFeedSubscriptionStatus status) {}

std::string MakeKey(const std::string& web_feed_id) {}

std::string MakeEntry(WebFeedSubscriptionStatus status) {}
}  // namespace

SubscriptionDatastoreProvider::SubscriptionDatastoreProvider(
    XsurfaceDatastoreDataWriter* writer)
    :{}

SubscriptionDatastoreProvider::~SubscriptionDatastoreProvider() = default;

void SubscriptionDatastoreProvider::Update(
    std::vector<std::pair<std::string, WebFeedSubscriptionStatus>>
        new_state_list) {}

}  // namespace feed