1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_SAFE_BROWSING_DOWNLOAD_PROTECTION_UTIL_H_
6 #define CHROME_COMMON_SAFE_BROWSING_DOWNLOAD_PROTECTION_UTIL_H_
12 namespace safe_browsing
{
13 namespace download_protection_util
{
15 // Returns true if the given file is a supported binary file type.
16 bool IsBinaryFile(const base::FilePath
& file
);
18 // Returns true if the given file is a supported archive file type.
19 bool IsArchiveFile(const base::FilePath
& file
);
21 } // namespace download_protection_util
22 } // namespace safe_browsing
24 #endif // CHROME_COMMON_SAFE_BROWSING_DOWNLOAD_PROTECTION_UTIL_H_