#include "chrome/browser/safe_browsing/download_protection/download_request_maker.h"
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "base/test/bind.h"
#include "base/test/test_future.h"
#include "chrome/browser/download/download_item_warning_data.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/safe_browsing/mock_binary_feature_extractor.h"
#include "chrome/test/base/testing_profile.h"
#include "components/download/public/common/mock_download_item.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/proto/csd.pb.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "content/public/browser/download_item_utils.h"
#include "content/public/browser/file_system_access_write_item.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace safe_browsing {
_;
Return;
ReturnRefOfCopy;
class DownloadRequestMakerTest : public testing::Test { … };
TEST_F(DownloadRequestMakerTest, PopulatesUrl) { … }
TEST_F(DownloadRequestMakerTest, PopulatesHash) { … }
TEST_F(DownloadRequestMakerTest, PopulatesLength) { … }
TEST_F(DownloadRequestMakerTest, PopulatesResources) { … }
TEST_F(DownloadRequestMakerTest, PopulatesUserInitiated) { … }
TEST_F(DownloadRequestMakerTest, PopulatesReferrerChain) { … }
TEST_F(DownloadRequestMakerTest, PopulatesStandardProtection) { … }
TEST_F(DownloadRequestMakerTest, PopulatesEnhancedProtection) { … }
TEST_F(DownloadRequestMakerTest, PopulateTailoredInfo) { … }
TEST_F(DownloadRequestMakerTest, PopulatesFileBasename) { … }
TEST_F(DownloadRequestMakerTest, CreatesFromDownloadItem) { … }
TEST_F(DownloadRequestMakerTest, CreatesFromFileSystemAccess) { … }
TEST_F(DownloadRequestMakerTest, NotifiesCallback) { … }
TEST_F(DownloadRequestMakerTest, SetsIsEncrypted) { … }
TEST_F(DownloadRequestMakerTest, UsesPassword) { … }
TEST_F(DownloadRequestMakerTest, SetsFullyExtractedArchive) { … }
}