Index: content/browser/download/file_metadata_mac.h |
diff --git a/content/browser/download/file_metadata_mac.h b/content/browser/download/file_metadata_mac.h |
index 19a3f07ff62a842c0550c45b450d741033b8f9e1..fc24e7f767b746e966ca613d78cbdb4285031225 100644 |
--- a/content/browser/download/file_metadata_mac.h |
+++ b/content/browser/download/file_metadata_mac.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_BROWSER_DOWNLOAD_FILE_METADATA_MAC_H_ |
#define CONTENT_BROWSER_DOWNLOAD_FILE_METADATA_MAC_H_ |
+#include "content/common/content_export.h" |
+ |
class GURL; |
namespace base { |
@@ -26,6 +28,11 @@ void AddOriginMetadataToFile(const base::FilePath& file, const GURL& source, |
void AddQuarantineMetadataToFile(const base::FilePath& file, const GURL& source, |
const GURL& referrer); |
+// Sets or clears the NSFileExtensionHidden property on |file|, which shows or |
+// hides |file|'s file extension in the Finder. |
+CONTENT_EXPORT void SetExtensionHiddenForFile(const base::FilePath& file, |
+ bool hidden); |
+ |
} // namespace content |
#endif // CONTENT_BROWSER_DOWNLOAD_FILE_METADATA_MAC_H_ |