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

#include <ostream>
#include <tuple>
#include "components/feed/core/proto/v2/ui.pb.h"

namespace feed {

AccountInfo::AccountInfo() = default;
AccountInfo::AccountInfo(const std::string& gaia, const std::string& email)
    :{}
AccountInfo::AccountInfo(CoreAccountInfo account_info)
    :{}
bool AccountInfo::IsEmpty() const {}
bool AccountInfo::operator==(const AccountInfo& rhs) const {}

std::ostream& operator<<(std::ostream& os, const AccountInfo& o) {}

WebFeedMetadata::WebFeedMetadata() = default;
WebFeedMetadata::WebFeedMetadata(const WebFeedMetadata&) = default;
WebFeedMetadata::WebFeedMetadata(WebFeedMetadata&&) = default;
WebFeedMetadata::~WebFeedMetadata() = default;
WebFeedMetadata& WebFeedMetadata::operator=(const WebFeedMetadata&) = default;
WebFeedMetadata& WebFeedMetadata::operator=(WebFeedMetadata&&) = default;

WebFeedPageInformation::WebFeedPageInformation() = default;
WebFeedPageInformation::~WebFeedPageInformation() = default;
WebFeedPageInformation::WebFeedPageInformation(const WebFeedPageInformation&) =
    default;
WebFeedPageInformation::WebFeedPageInformation(WebFeedPageInformation&&) =
    default;
WebFeedPageInformation& WebFeedPageInformation::operator=(
    const WebFeedPageInformation&) = default;
WebFeedPageInformation& WebFeedPageInformation::operator=(
    WebFeedPageInformation&&) = default;
void WebFeedPageInformation::SetUrl(const GURL& url) {}
void WebFeedPageInformation::SetCanonicalUrl(const GURL& url) {}
void WebFeedPageInformation::SetRssUrls(const std::vector<GURL>& rss_urls) {}

std::ostream& operator<<(std::ostream& os,
                         const WebFeedPageInformation& value) {}

// operator<< functions below are for test purposes, and shouldn't be called
// from production code to avoid a binary size impact.

std::ostream& operator<<(std::ostream& os, const NetworkResponseInfo& o) {}

std::ostream& operator<<(std::ostream& out, WebFeedSubscriptionStatus value) {}

std::ostream& operator<<(std::ostream& out,
                         WebFeedSubscriptionRequestStatus value) {}

std::ostream& operator<<(std::ostream& out, WebFeedQueryRequestStatus value) {}

std::ostream& operator<<(std::ostream& out, WebFeedAvailabilityStatus value) {}

std::ostream& operator<<(std::ostream& out, const WebFeedMetadata& value) {}

std::ostream& operator<<(std::ostream& out,
                         WebFeedPageInformationRequestReason value) {}

std::ostream& operator<<(std::ostream& out, SingleWebFeedEntryPoint value) {}

}  // namespace feed