Index: chrome/browser/file_select_helper.cc |
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc |
index e1183782ab6b157bf41be914597cb1f8752780a6..de05cac74c7ef6b0d6789d082b0a2bfa2480ee46 100644 |
--- a/chrome/browser/file_select_helper.cc |
+++ b/chrome/browser/file_select_helper.cc |
@@ -12,6 +12,7 @@ |
#include "base/string_split.h" |
#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
+#include "chrome/browser/chrome_select_file_policy.h" |
#include "chrome/browser/platform_util.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/browser.h" |
@@ -405,7 +406,7 @@ void FileSelectHelper::RunFileChooserOnUIThread( |
select_file_types_.get(), |
select_file_types_.get() ? 1 : 0, // 1-based index. |
FILE_PATH_LITERAL(""), |
- web_contents_, |
+ ChromeSelectFilePolicy::DisplayInfobarCallback(web_contents_), |
owning_window, |
#if defined(OS_ANDROID) |
const_cast<content::FileChooserParams*>(¶ms)); |