Index: chrome/browser/download/download_file_picker.h |
diff --git a/chrome/browser/download/download_file_picker.h b/chrome/browser/download/download_file_picker.h |
index bf7754dac3c63cff2508eb4a1104e6377f731706..8648504c8850fe6686414908c468cb44cb625158 100644 |
--- a/chrome/browser/download/download_file_picker.h |
+++ b/chrome/browser/download/download_file_picker.h |
@@ -27,8 +27,8 @@ class DownloadFilePicker : public ui::SelectFileDialog::Listener { |
// selection, then this parameter will be the empty path. On Chrome OS, |
// this path may contain virtual mount points if the user chose a virtual |
// path (e.g. Google Drive). |
- typedef base::Callback<void(const base::FilePath& virtual_path)> |
- FileSelectedCallback; |
+ typedef base::Callback<void(const base::FilePath& virtual_path, |
+ bool hide_file_extension)> FileSelectedCallback; |
// Display a file picker dialog for |item|. The |suggested_path| will be used |
// as the initial path displayed to the user. |callback| will always be |
@@ -45,12 +45,16 @@ class DownloadFilePicker : public ui::SelectFileDialog::Listener { |
// Runs |file_selected_callback_| with |virtual_path| and then deletes this |
// object. |
- void OnFileSelected(const base::FilePath& virtual_path); |
+ void OnFileSelected(const base::FilePath& virtual_path, |
+ bool hide_file_extension); |
// SelectFileDialog::Listener implementation. |
void FileSelected(const base::FilePath& path, |
int index, |
void* params) override; |
+ void FileSelectedWithExtraInfo(const ui::SelectedFileInfo& file, |
+ int index, |
+ void* params) override; |
void FileSelectionCanceled(void* params) override; |
// Initially suggested path. |