Index: chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.cc |
diff --git a/chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.cc b/chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.cc |
index 50b887cddc9d053a39ad1154c9f96c96e8cf6d58..9f91af5ead577af90722f582d630f1936ab2a812 100644 |
--- a/chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.cc |
+++ b/chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.cc |
@@ -15,6 +15,7 @@ |
#include "chrome/browser/lifetime/application_lifetime.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
+#include "chrome/browser/ui/views/select_file_dialog_extension_factory.h" |
#include "chrome/common/chrome_switches.h" |
#include "chromeos/chromeos_switches.h" |
#include "content/public/browser/browser_thread.h" |
@@ -41,6 +42,8 @@ class ChromeBrowserMainExtraPartsAthena : public ChromeBrowserMainExtraParts, |
athena::StartAthenaEnv(content::BrowserThread::GetBlockingPool()-> |
GetTaskRunnerWithShutdownBehavior( |
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); |
+ |
+ ui::SelectFileDialog::SetFactory(new SelectFileDialogExtensionFactory); |
} |
virtual void PostProfileInit() OVERRIDE { |
if (!CommandLine::ForCurrentProcess()->HasSwitch( |