| Index: chrome/browser/safe_browsing/download_protection_service.h
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service.h b/chrome/browser/safe_browsing/download_protection_service.h
|
| index fc33a1a847e5efe6dfe01ec3756197a48afa867f..7afb5b0e48198f59087e8a27ccedcc0aba937a84 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service.h
|
| +++ b/chrome/browser/safe_browsing/download_protection_service.h
|
| @@ -86,6 +86,11 @@ class DownloadProtectionService {
|
| virtual void CheckDownloadUrl(const DownloadInfo& info,
|
| const CheckDownloadCallback& callback);
|
|
|
| + // Returns true iff the given filename has an extension that is supported
|
| + // by this service. In other words: this method returns true if it can
|
| + // protect users against files with that particular extension.
|
| + bool IsSupportedFileType(const FilePath& filename) const;
|
| +
|
| // Enables or disables the service. This is usually called by the
|
| // SafeBrowsingService, which tracks whether any profile uses these services
|
| // at all. Disabling causes any pending and future requests to have their
|
|
|