OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/shell_dialogs.h" | 5 #include "chrome/browser/ui/shell_dialogs.h" |
6 | 6 |
| 7 #include "chrome/browser/ui/views/file_manager_dialog.h" |
| 8 #include "content/browser/browser_thread.h" |
| 9 |
7 // static | 10 // static |
8 SelectFileDialog* SelectFileDialog::Create(Listener* listener) { | 11 SelectFileDialog* SelectFileDialog::Create(Listener* listener) { |
9 return NULL; | 12 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 13 return new FileManagerDialog(listener); |
10 } | 14 } |
OLD | NEW |