OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_ | 5 #ifndef UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_ |
6 #define UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_ | 6 #define UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "ui/shell_dialogs/shell_dialogs_export.h" | 12 #include "ui/shell_dialogs/shell_dialogs_export.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 | 15 |
16 // Struct used for passing selected file info to WebKit. | 16 // Struct used for passing selected file info to WebKit. |
17 struct SHELL_DIALOGS_EXPORT SelectedFileInfo { | 17 struct SHELL_DIALOGS_EXPORT SelectedFileInfo { |
18 // Selected file's user friendly path as seen in the UI. | 18 // Selected file's user friendly path as seen in the UI. |
19 base::FilePath file_path; | 19 base::FilePath file_path; |
20 | 20 |
21 // The actual local path to the selected file. This can be a snapshot file | 21 // The actual local path to the selected file. This can be a snapshot file |
(...skipping 13 matching lines...) Expand all Loading... |
35 SelectedFileInfo(); | 35 SelectedFileInfo(); |
36 SelectedFileInfo(const base::FilePath& in_file_path, | 36 SelectedFileInfo(const base::FilePath& in_file_path, |
37 const base::FilePath& in_local_path); | 37 const base::FilePath& in_local_path); |
38 ~SelectedFileInfo(); | 38 ~SelectedFileInfo(); |
39 }; | 39 }; |
40 | 40 |
41 } // namespace ui | 41 } // namespace ui |
42 | 42 |
43 #endif // UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_ | 43 #endif // UI_SHELL_DIALOGS_SELECTED_FILE_INFO_H_ |
44 | 44 |
OLD | NEW |