#include "chrome/browser/enterprise/connectors/analysis/request_handler_base.h"
#include "chrome/browser/safe_browsing/cloud_content_scanning/binary_upload_service.h"
namespace enterprise_connectors {
RequestHandlerBase::RequestHandlerBase(
safe_browsing::BinaryUploadService* upload_service,
Profile* profile,
const enterprise_connectors::AnalysisSettings& analysis_settings,
GURL url,
const std::string& source,
const std::string& destination,
const std::string& user_action_id,
const std::string& tab_title,
uint64_t user_action_requests_count,
safe_browsing::DeepScanAccessPoint access_point,
ContentAnalysisRequest::Reason reason)
: … { … }
RequestHandlerBase::~RequestHandlerBase() = default;
bool RequestHandlerBase::UploadData() { … }
void RequestHandlerBase::AppendFinalActionsTo(
std::map<std::string, ContentAnalysisAcknowledgement::FinalAction>*
final_actions) { … }
void RequestHandlerBase::PrepareRequest(
enterprise_connectors::AnalysisConnector connector,
safe_browsing::BinaryUploadService::Request* request) { … }
safe_browsing::BinaryUploadService*
RequestHandlerBase::GetBinaryUploadService() { … }
}