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

Unified Diff: chrome/browser/file_select_helper.cc

Issue 18627002: Change dialog texts for folder upload to explicitly indicate it's for 'Uploading' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 7 years, 5 months 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/file_select_helper.cc
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc
index ef84e7c0095cffa88edb5622bc5777cb995a88f4..c92b381d4185eea86f32e6f10a71ea60af8336bc 100644
--- a/chrome/browser/file_select_helper.cc
+++ b/chrome/browser/file_select_helper.cc
@@ -123,7 +123,7 @@ void FileSelectHelper::FileSelectedWithExtraInfo(
profile_->set_last_selected_directory(file.file_path.DirName());
const base::FilePath& path = file.local_path;
- if (dialog_type_ == ui::SelectFileDialog::SELECT_FOLDER) {
+ if (dialog_type_ == ui::SelectFileDialog::SELECT_UPLOAD_FOLDER) {
StartNewEnumeration(path, kFileSelectEnumerationId, render_view_host_);
return;
}
@@ -377,8 +377,8 @@ void FileSelectHelper::RunFileChooserOnUIThread(
case FileChooserParams::OpenMultiple:
dialog_type_ = ui::SelectFileDialog::SELECT_OPEN_MULTI_FILE;
break;
- case FileChooserParams::OpenFolder:
- dialog_type_ = ui::SelectFileDialog::SELECT_FOLDER;
+ case FileChooserParams::UploadFolder:
+ dialog_type_ = ui::SelectFileDialog::SELECT_UPLOAD_FOLDER;
break;
case FileChooserParams::Save:
dialog_type_ = ui::SelectFileDialog::SELECT_SAVEAS_FILE;

Powered by Google App Engine
This is Rietveld 408576698