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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.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
Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index 9146c2ef3e730d31d2e1b0852f0c14cb42c13f65..2d69e74e0edf0252a440871edc6be6c4b5f907a8 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -733,8 +733,9 @@ void ExtensionSettingsHandler::HandleLoadUnpackedExtensionMessage(
l10n_util::GetStringUTF16(IDS_EXTENSION_LOAD_FROM_DIRECTORY);
const int kFileTypeIndex = 0; // No file type information to index.
- const SelectFileDialog::Type kSelectType = SelectFileDialog::SELECT_FOLDER;
- load_extension_dialog_ = SelectFileDialog::Create(
+ const ui::SelectFileDialog::Type kSelectType =
+ ui::SelectFileDialog::SELECT_FOLDER;
+ load_extension_dialog_ = ui::SelectFileDialog::Create(
this, new ChromeSelectFilePolicy(web_ui()->GetWebContents()));
load_extension_dialog_->SelectFile(
kSelectType, select_title, last_unpacked_directory_, NULL,

Powered by Google App Engine
This is Rietveld 408576698