Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1262)

Unified Diff: content/browser/download/download_file.h

Issue 1513413002: Enable "Hide Extension" option when "Save Link As" on the Mac Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/download/base_file_mac.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_file.h
diff --git a/content/browser/download/download_file.h b/content/browser/download/download_file.h
index 568e7ee091c27c1a610ce8041e85d4641b65bf0d..d9f2d355581de6d98af8588ef6fb78cb8dfa9dac 100644
--- a/content/browser/download/download_file.h
+++ b/content/browser/download/download_file.h
@@ -78,6 +78,9 @@ class CONTENT_EXPORT DownloadFile {
// before RenameAndAnnotate() to take effect.
virtual void SetClientGuid(const std::string& guid) = 0;
+ // Set the download file's extension's visibility in the Finder (Mac).
+ virtual void SetHideFileExtension(bool hide_extension) = 0;
+
// For testing. Must be called on FILE thread.
// TODO(rdsmith): Replace use of EnsureNoPendingDownloads()
// on the DownloadManager with a test-specific DownloadFileFactory
« no previous file with comments | « content/browser/download/base_file_mac.cc ('k') | content/browser/download/download_file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698