#include "components/payments/core/url_util.h"
#include "net/base/url_util.h"
#include "services/network/public/cpp/is_potentially_trustworthy.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace payments {
namespace {
enum class File { … };
enum class UsernamePassword { … };
enum class CryptographicSchemes { … };
enum class AboutBlank { … };
enum class PathQueryRef { … };
bool IsValidUrlForPayments(const GURL& url,
File file,
UsernamePassword username_password,
CryptographicSchemes cryptographic_schemes,
AboutBlank about_blank,
PathQueryRef path_query_ref) { … }
}
bool UrlUtil::IsValidUrlBasedPaymentMethodIdentifier(const GURL& url) { … }
bool UrlUtil::IsValidSupportedOrigin(const GURL& url) { … }
bool UrlUtil::IsValidManifestUrl(const GURL& url) { … }
bool UrlUtil::IsOriginAllowedToUseWebPaymentApis(const GURL& url) { … }
bool UrlUtil::IsValidUrlInPaymentHandlerWindow(const GURL& url) { … }
bool UrlUtil::IsLocalDevelopmentUrl(const GURL& url) { … }
}