#include "ui/base/data_transfer_policy/data_transfer_endpoint.h"
#include <optional>
#include "base/check_op.h"
#include "base/types/optional_util.h"
#include "url/gurl.h"
namespace ui {
DataTransferEndpoint::DataTransferEndpoint(const GURL& url,
DataTransferEndpointOptions options)
: … { … }
DataTransferEndpoint::DataTransferEndpoint(EndpointType type,
DataTransferEndpointOptions options)
: … { … }
DataTransferEndpoint::DataTransferEndpoint(const DataTransferEndpoint& other) =
default;
DataTransferEndpoint::DataTransferEndpoint(DataTransferEndpoint&& other) =
default;
DataTransferEndpoint& DataTransferEndpoint::operator=(
const DataTransferEndpoint& other) = default;
DataTransferEndpoint& DataTransferEndpoint::operator=(
DataTransferEndpoint&& other) = default;
bool DataTransferEndpoint::operator==(const DataTransferEndpoint& other) const =
default;
DataTransferEndpoint::~DataTransferEndpoint() = default;
const GURL* DataTransferEndpoint::GetURL() const { … }
bool DataTransferEndpoint::IsSameURLWith(
const DataTransferEndpoint& other) const { … }
}