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

Unified Diff: chrome/browser/download/download_target_info.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
Index: chrome/browser/download/download_target_info.h
diff --git a/chrome/browser/download/download_target_info.h b/chrome/browser/download/download_target_info.h
index 8380560e146c8aca48a08d6a05bbc01cf9eaf05c..4f4f776b403252646049b51e0a7aabffda809df9 100644
--- a/chrome/browser/download/download_target_info.h
+++ b/chrome/browser/download/download_target_info.h
@@ -53,6 +53,10 @@ struct DownloadTargetInfo {
// opens should be handled. The file is considered to be handled safely if the
// filetype is supported by the renderer or a sandboxed plugin.
bool is_filetype_handled_safely;
+
+ // Whether |target_path| should be configured to hide its file extesnion in
+ // the Finder (MacOSX).
+ bool hide_file_extension;
};
#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TARGET_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698