#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) { … }
}