| Index: chrome/common/safe_browsing/download_protection_util.cc
|
| diff --git a/chrome/common/safe_browsing/download_protection_util.cc b/chrome/common/safe_browsing/download_protection_util.cc
|
| index 147ee2cca09657b1549531275e9e8764e5afea65..32ef0a9a0ff93dc2d311ea29794fc4fa23c2b8f0 100644
|
| --- a/chrome/common/safe_browsing/download_protection_util.cc
|
| +++ b/chrome/common/safe_browsing/download_protection_util.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/strings/string_util.h"
|
| +#include "build/build_config.h"
|
| #include "chrome/common/safe_browsing/file_type_policies.h"
|
|
|
| namespace safe_browsing {
|
| @@ -52,7 +53,11 @@ ClientDownloadRequest::DownloadType GetDownloadType(
|
| return ClientDownloadRequest::MAC_EXECUTABLE;
|
| else if (FileTypePolicies::GetInstance()->IsArchiveFile(file))
|
| return ClientDownloadRequest::ARCHIVE;
|
| +#if defined(OS_MACOSX)
|
| + return ClientDownloadRequest::MAC_EXECUTABLE;
|
| +#else
|
| return ClientDownloadRequest::WIN_EXECUTABLE;
|
| +#endif // OS_MACOSX
|
| }
|
|
|
| } // namespace download_protection_util
|
|
|