Commit e08873fb authored by Daniel Rubery's avatar Daniel Rubery Committed by Commit Bot

Remove CSD token from WebProtect

Due to product decisions, this field should not be included.

Bug: 1062298
Change-Id: I46986aec184f61b9af18a6debabd356cbebb9719
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107713Reviewed-by: default avatarBettina Dea <bdea@chromium.org>
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751127}
parent eb5c9be0
......@@ -192,8 +192,6 @@ void DeepScanningRequest::Start() {
MalwareDeepScanningClientRequest malware_request;
malware_request.set_population(
MalwareDeepScanningClientRequest::POPULATION_TITANIUM);
malware_request.set_download_token(
DownloadProtectionService::GetDownloadPingToken(item_));
request->set_request_malware_scan(std::move(malware_request));
} else if (trigger_ == DeepScanTrigger::TRIGGER_POLICY) {
policy::DMToken dm_token = GetDMToken(profile);
......@@ -215,8 +213,6 @@ void DeepScanningRequest::Start() {
MalwareDeepScanningClientRequest malware_request;
malware_request.set_population(
MalwareDeepScanningClientRequest::POPULATION_ENTERPRISE);
malware_request.set_download_token(
DownloadProtectionService::GetDownloadPingToken(item_));
request->set_request_malware_scan(std::move(malware_request));
}
}
......
......@@ -1313,9 +1313,6 @@ std::string SerializeDeepScanningRequest(
break;
}
malware_request.SetStringKey(
"download_token", request.malware_scan_request().download_token());
request_dict.SetKey("malware_scan_request", std::move(malware_request));
}
......
......@@ -18,8 +18,7 @@ message MalwareDeepScanningClientRequest {
// Identifies the type of client.
optional Population population = 1;
// The download token from the original ClientDownloadResponse.
optional string download_token = 2;
reserved 2;
}
// DLP-specific scanning information.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment