| Index: chrome/common/safe_browsing/download_protection_util.h
|
| diff --git a/chrome/common/safe_browsing/download_protection_util.h b/chrome/common/safe_browsing/download_protection_util.h
|
| index 8a0ff7cbd17ebc00140a2d9949168210bbe23358..a9eaf53c6b9e735d9e043a38efc5922bf784f16f 100644
|
| --- a/chrome/common/safe_browsing/download_protection_util.h
|
| +++ b/chrome/common/safe_browsing/download_protection_util.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROME_COMMON_SAFE_BROWSING_DOWNLOAD_PROTECTION_UTIL_H_
|
| #define CHROME_COMMON_SAFE_BROWSING_DOWNLOAD_PROTECTION_UTIL_H_
|
|
|
| +#include "chrome/common/safe_browsing/csd.pb.h"
|
| +
|
| namespace base {
|
| class FilePath;
|
| }
|
| @@ -18,6 +20,10 @@ bool IsBinaryFile(const base::FilePath& file);
|
| // Returns true if the given file is a supported archive file type.
|
| bool IsArchiveFile(const base::FilePath& file);
|
|
|
| +// Returns the DownloadType of the file at |path|. This function is only valid
|
| +// for paths that satisfy IsBinaryFile() above.
|
| +ClientDownloadRequest::DownloadType GetDownloadType(const base::FilePath& file);
|
| +
|
| } // namespace download_protection_util
|
| } // namespace safe_browsing
|
|
|
|
|