| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. Use of this source |
| 2 // code is governed by a BSD-style license that can be found in the LICENSE |
| 3 // 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 |