| Index: chrome/browser/safe_browsing/unverified_download_policy.h
|
| diff --git a/chrome/browser/safe_browsing/unverified_download_policy.h b/chrome/browser/safe_browsing/unverified_download_policy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..081a070082d3bbc70dad1fff5dbad1d366bd06e5
|
| --- /dev/null
|
| +++ b/chrome/browser/safe_browsing/unverified_download_policy.h
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SAFE_BROWSING_UNVERIFIED_DOWNLOAD_POLICY_H_
|
| +#define CHROME_BROWSER_SAFE_BROWSING_UNVERIFIED_DOWNLOAD_POLICY_H_
|
| +
|
| +namespace base {
|
| +class FilePath;
|
| +}
|
| +
|
| +namespace safe_browsing {
|
| +
|
| +// Returns true if |file| is allowed to be downloaded without invoking
|
| +// SafeBrowsing to verify the contents and source URL.
|
| +bool IsUnverifiedDownloadAllowed(const base::FilePath& file);
|
| +
|
| +} // namespace safe_browsing
|
| +
|
| +#endif // CHROME_BROWSER_SAFE_BROWSING_UNVERIFIED_DOWNLOAD_POLICY_H_
|
|
|