#include "content/browser/background_fetch/background_fetch_cross_origin_filter.h"
#include <map>
#include <string>
#include "content/browser/background_fetch/background_fetch_request_info.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom.h"
namespace content {
const char kFirstOrigin[] = …;
const char kFirstOriginFile[] = …;
const char kSecondOriginFile[] = …;
const char kAccessControlAllowOriginHeader[] = …;
const char kAccessControlAllowCredentialsHeader[] = …;
class BackgroundFetchCrossOriginFilterTest : public ::testing::Test { … };
TEST_F(BackgroundFetchCrossOriginFilterTest, SameOrigin) { … }
TEST_F(BackgroundFetchCrossOriginFilterTest, CrossOrigin) { … }
TEST_F(BackgroundFetchCrossOriginFilterTest, CrossOriginAllowAllOrigins) { … }
TEST_F(BackgroundFetchCrossOriginFilterTest, CrossOriginAllowSpecificOrigin) { … }
TEST_F(BackgroundFetchCrossOriginFilterTest, CrossOriginCredentials) { … }
}