#include "components/payments/core/const_csp_checker.h"
#include "base/functional/callback.h"
namespace payments {
ConstCSPChecker::ConstCSPChecker(bool allow) : … { … }
ConstCSPChecker::~ConstCSPChecker() = default;
void ConstCSPChecker::AllowConnectToSource(
const GURL& url,
const GURL& url_before_redirects,
bool did_follow_redirect,
base::OnceCallback<void(bool)> result_callback) { … }
base::WeakPtr<ConstCSPChecker> ConstCSPChecker::GetWeakPtr() { … }
void ConstCSPChecker::InvalidateWeakPtrsForTesting() { … }
}