#include "content/browser/interest_group/subresource_url_authorizations.h"
#include <tuple>
#include "content/browser/interest_group/auction_worklet_manager.h"
#include "content/browser/interest_group/subresource_url_builder.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/interest_group/auction_config.h"
#include "url/gurl.h"
namespace content {
namespace {
WorkletHandle;
BundleSubresourceInfo;
const WorkletHandle* const kWorkletHandle1 = …;
const WorkletHandle* const kWorkletHandle2 = …;
constexpr char kBundleUrl[] = …;
constexpr char kSubresourceUrl1[] = …;
constexpr char kSubresourceUrl2[] = …;
blink::DirectFromSellerSignalsSubresource MakeBlinkSubresource() { … }
}
class SubresourceUrlAuthorizationsTest : public ::testing::Test { … };
TEST_F(SubresourceUrlAuthorizationsTest, Construct) { … }
TEST_F(SubresourceUrlAuthorizationsTest, InitiallyNotAuthorized) { … }
TEST_F(SubresourceUrlAuthorizationsTest, Simple) { … }
TEST_F(SubresourceUrlAuthorizationsTest, NotAuthorized) { … }
TEST_F(SubresourceUrlAuthorizationsTest, MultipleHandles) { … }
TEST_F(SubresourceUrlAuthorizationsTest, BadScriptAltersSubresource) { … }
}