| Index: chrome/browser/file_select_helper.cc
|
| diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc
|
| index 7be912fcdd60c504b04b45dd0c2ddccb2acdf7ec..21a32193ba86a91bd0c1e802fc26b0764d88ae73 100644
|
| --- a/chrome/browser/file_select_helper.cc
|
| +++ b/chrome/browser/file_select_helper.cc
|
| @@ -89,7 +89,8 @@ bool IsValidProfile(Profile* profile) {
|
| #if defined(FULL_SAFE_BROWSING)
|
|
|
| bool IsDownloadAllowedBySafeBrowsing(
|
| - safe_browsing::DownloadProtectionService::DownloadCheckResult result) {
|
| + safe_browsing::DownloadProtectionService::DownloadCheckResult result,
|
| + const std::string& token_unused) {
|
| using Result = safe_browsing::DownloadProtectionService::DownloadCheckResult;
|
| switch (result) {
|
| // Only allow downloads that are marked as SAFE or UNKNOWN by SafeBrowsing.
|
| @@ -111,8 +112,9 @@ bool IsDownloadAllowedBySafeBrowsing(
|
|
|
| void InterpretSafeBrowsingVerdict(
|
| const base::Callback<void(bool)>& recipient,
|
| - safe_browsing::DownloadProtectionService::DownloadCheckResult result) {
|
| - recipient.Run(IsDownloadAllowedBySafeBrowsing(result));
|
| + safe_browsing::DownloadProtectionService::DownloadCheckResult result,
|
| + const std::string& token) {
|
| + recipient.Run(IsDownloadAllowedBySafeBrowsing(result, token));
|
| }
|
|
|
| #endif
|
|
|