Index: chrome/browser/extensions/api/developer_private/entry_picker.cc |
diff --git a/chrome/browser/extensions/api/developer_private/entry_picker.cc b/chrome/browser/extensions/api/developer_private/entry_picker.cc |
index 252831445672fe912f256974f703ba5a64120626..d872feb6c3b3552927deaa5f8fbd3a540e07b6ec 100644 |
--- a/chrome/browser/extensions/api/developer_private/entry_picker.cc |
+++ b/chrome/browser/extensions/api/developer_private/entry_picker.cc |
@@ -30,8 +30,10 @@ namespace api { |
EntryPicker::EntryPicker(EntryPickerClient* client, |
content::WebContents* web_contents, |
ui::SelectFileDialog::Type picker_type, |
- const base::FilePath& last_directory, |
- const string16& select_title) |
+ const FilePath& last_directory, |
+ const string16& select_title, |
+ const ui::SelectFileDialog::FileTypeInfo& info, |
+ int file_type_index) |
: client_(client) { |
select_file_dialog_ = ui::SelectFileDialog::Create( |
this, new ChromeSelectFilePolicy(web_contents)); |
@@ -58,8 +60,9 @@ EntryPicker::EntryPicker(EntryPickerClient* client, |
select_file_dialog_->SelectFile(picker_type, |
select_title, |
last_directory, |
- NULL, |
- 0, FILE_PATH_LITERAL(""), |
+ &info, |
+ file_type_index, |
+ FILE_PATH_LITERAL(""), |
owning_window, NULL); |
} |