| 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 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ |
| 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // Holds the information about how to save a download file. | 35 // Holds the information about how to save a download file. |
| 36 struct DownloadSaveInfo { | 36 struct DownloadSaveInfo { |
| 37 DownloadSaveInfo(); | 37 DownloadSaveInfo(); |
| 38 DownloadSaveInfo(const DownloadSaveInfo& info); | 38 DownloadSaveInfo(const DownloadSaveInfo& info); |
| 39 ~DownloadSaveInfo(); | 39 ~DownloadSaveInfo(); |
| 40 DownloadSaveInfo& operator=(const DownloadSaveInfo& info); | 40 DownloadSaveInfo& operator=(const DownloadSaveInfo& info); |
| 41 | 41 |
| 42 FilePath file_path; | 42 FilePath file_path; |
| 43 linked_ptr<net::FileStream> file_stream; | 43 linked_ptr<net::FileStream> file_stream; |
| 44 string16 suggested_name; |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ | 47 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_TYPES_H_ |
| OLD | NEW |