chromium/components/feed/core/v2/public/test/stub_feed_api.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/public/test/stub_feed_api.h"

#include <string_view>
#include <type_traits>

namespace feed {

static_assert;

SurfaceId StubFeedApi::CreateSurface(const StreamType& type,
                                     SingleWebFeedEntryPoint entry_point) {}
WebFeedSubscriptions& StubFeedApi::subscriptions() {}
bool StubFeedApi::IsArticlesListVisible() {}
std::string StubFeedApi::GetSessionId() const {}
ImageFetchId StubFeedApi::FetchImage(
    const GURL& url,
    base::OnceCallback<void(NetworkResponse)> callback) {}
PersistentKeyValueStore& StubFeedApi::GetPersistentKeyValueStore() {}
EphemeralChangeId StubFeedApi::CreateEphemeralChange(
    SurfaceId surface_id,
    std::vector<feedstore::DataOperation> operations) {}
EphemeralChangeId StubFeedApi::CreateEphemeralChangeFromPackedData(
    SurfaceId surface_id,
    std::string_view data) {}
bool StubFeedApi::CommitEphemeralChange(SurfaceId surface_id,
                                        EphemeralChangeId id) {}
bool StubFeedApi::RejectEphemeralChange(SurfaceId surface_id,
                                        EphemeralChangeId id) {}
bool StubFeedApi::WasUrlRecentlyNavigatedFromFeed(const GURL& url) {}
DebugStreamData StubFeedApi::GetDebugStreamData() {}
std::string StubFeedApi::DumpStateForDebugging() {}

base::Time StubFeedApi::GetLastFetchTime(SurfaceId surface_id) {}

ContentOrder StubFeedApi::GetContentOrder(const StreamType& stream_type) const {}

ContentOrder StubFeedApi::GetContentOrderFromPrefs(
    const StreamType& stream_type) {}

}  // namespace feed