OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Download creation struct used for querying the history service. | 5 // Download creation struct used for querying the history service. |
6 | 6 |
7 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ | 7 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ |
8 #define CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ | 8 #define CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 bool save_as; | 80 bool save_as; |
81 // Whether this download is potentially dangerous (ex: exe, dll, ...). | 81 // Whether this download is potentially dangerous (ex: exe, dll, ...). |
82 bool is_dangerous; | 82 bool is_dangerous; |
83 // The original name for a dangerous download. | 83 // The original name for a dangerous download. |
84 FilePath original_name; | 84 FilePath original_name; |
85 // Whether this download is for extension install or not. | 85 // Whether this download is for extension install or not. |
86 bool is_extension_install; | 86 bool is_extension_install; |
87 // The charset of the referring page where the download request comes from. | 87 // The charset of the referring page where the download request comes from. |
88 // It's used to construct a suggested filename. | 88 // It's used to construct a suggested filename. |
89 std::string referrer_charset; | 89 std::string referrer_charset; |
| 90 // The file path to save to. |
| 91 FilePath save_file_path; |
90 }; | 92 }; |
91 | 93 |
92 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ | 94 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_TYPES_H_ |
OLD | NEW |