| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_UNVERIFIED_DOWNLOAD_POLICY_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_UNVERIFIED_DOWNLOAD_POLICY_H_ |
| 7 |
| 8 namespace base { |
| 9 class FilePath; |
| 10 } |
| 11 |
| 12 namespace safe_browsing { |
| 13 |
| 14 // Returns true if |file| is allowed to be downloaded without invoking |
| 15 // SafeBrowsing to verify the contents and source URL. |
| 16 bool IsUnverifiedDownloadAllowed(const base::FilePath& file); |
| 17 |
| 18 } // namespace safe_browsing |
| 19 |
| 20 #endif // CHROME_BROWSER_SAFE_BROWSING_UNVERIFIED_DOWNLOAD_POLICY_H_ |
| OLD | NEW |