#include "components/download/public/common/download_utils.h"
#include "base/test/scoped_feature_list.h"
#include "components/download/public/common/download_features.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_status_code.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/cpp/resource_request.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace download {
namespace {
TEST(DownloadUtilsTest, HandleServerResponse200) { … }
TEST(DownloadUtilsTest, HandleServerResponse200_RangeRequest) { … }
TEST(DownloadUtilsTest, HandleServerResponse206_RangeRequest) { … }
void VerifyRangeHeader(DownloadUrlParameters* params,
const std::string& expected_range_header) { … }
TEST(DownloadUtilsTest, CreateResourceRequest) { … }
}
}