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

Unified Diff: chrome/browser/download/download_file_picker.cc

Issue 10820034: Remove redirection header and add "ui::" before all SelectFileDialog usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reuploading for different try run. Created 8 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
« no previous file with comments | « chrome/browser/download/download_file_picker.h ('k') | chrome/browser/download/save_package_file_picker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_file_picker.cc
diff --git a/chrome/browser/download/download_file_picker.cc b/chrome/browser/download/download_file_picker.cc
index cb47b2dd11775208dde5c918a4fc563d6b4eddf5..d743a4069a5e404ee9147d4fbc811ea95695f119 100644
--- a/chrome/browser/download/download_file_picker.cc
+++ b/chrome/browser/download/download_file_picker.cc
@@ -70,9 +70,9 @@ void DownloadFilePicker::Init(
DCHECK(download_manager_);
WebContents* web_contents = item->GetWebContents();
- select_file_dialog_ = SelectFileDialog::Create(
+ select_file_dialog_ = ui::SelectFileDialog::Create(
this, new ChromeSelectFilePolicy(web_contents));
- SelectFileDialog::FileTypeInfo file_type_info;
+ ui::SelectFileDialog::FileTypeInfo file_type_info;
FilePath::StringType extension = suggested_path_.Extension();
if (!extension.empty()) {
extension.erase(extension.begin()); // drop the .
@@ -84,7 +84,7 @@ void DownloadFilePicker::Init(
platform_util::GetTopLevel(web_contents->GetNativeView()) : NULL;
select_file_dialog_->SelectFile(
- SelectFileDialog::SELECT_SAVEAS_FILE,
+ ui::SelectFileDialog::SELECT_SAVEAS_FILE,
string16(),
suggested_path_,
&file_type_info,
« no previous file with comments | « chrome/browser/download/download_file_picker.h ('k') | chrome/browser/download/save_package_file_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698