Test for golden version-7 safe-browsing file.
[chromium-blink-merge.git] / chrome / common / safe_browsing / download_protection_util.h
blob8a0ff7cbd17ebc00140a2d9949168210bbe23358
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_
8 namespace base {
9 class FilePath;
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_