| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
| 9 #include "ui/shell_dialogs/select_file_dialog.h" | 10 #include "ui/shell_dialogs/select_file_dialog.h" |
| 10 | 11 |
| 11 namespace base { | 12 namespace base { |
| 12 class FilePath; | 13 class FilePath; |
| 13 } | 14 } |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 class DownloadItem; | 17 class DownloadItem; |
| 17 class DownloadManager; | 18 class DownloadManager; |
| 18 class WebContents; | 19 class WebContents; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; | 64 scoped_refptr<ui::SelectFileDialog> select_file_dialog_; |
| 64 | 65 |
| 65 // True if UMA regarding on the result of the file selection should be | 66 // True if UMA regarding on the result of the file selection should be |
| 66 // recorded. | 67 // recorded. |
| 67 bool should_record_file_picker_result_; | 68 bool should_record_file_picker_result_; |
| 68 | 69 |
| 69 DISALLOW_COPY_AND_ASSIGN(DownloadFilePicker); | 70 DISALLOW_COPY_AND_ASSIGN(DownloadFilePicker); |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ | 73 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_FILE_PICKER_H_ |
| OLD | NEW |