Index: chrome/browser/file_select_helper.h |
diff --git a/chrome/browser/file_select_helper.h b/chrome/browser/file_select_helper.h |
index 89f769f7cd69c0b6660faa6c76c759dc39cc22b3..0c2c9b41e970280aea4f2880887b30a8a422b78b 100644 |
--- a/chrome/browser/file_select_helper.h |
+++ b/chrome/browser/file_select_helper.h |
@@ -12,6 +12,7 @@ |
#include "base/gtest_prod_util.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
+#include "content/public/common/file_chooser_params.h" |
#include "net/base/directory_lister.h" |
#include "ui/shell_dialogs/select_file_dialog.h" |
@@ -20,7 +21,6 @@ class Profile; |
namespace content { |
class RenderViewHost; |
class WebContents; |
-struct FileChooserParams; |
} |
namespace ui { |
@@ -148,6 +148,9 @@ class FileSelectHelper |
// The type of file dialog last shown. |
ui::SelectFileDialog::Type dialog_type_; |
+ // The mode of file dialog last shown. |
+ content::FileChooserParams::Mode dialog_mode_; |
+ |
// Maintain a list of active directory enumerations. These could come from |
// the file select dialog or from drag-and-drop of directories, so there could |
// be more than one going on at a time. |