| 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 #ifndef CHROME_BROWSER_SAVE_TYPES_H__ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_TYPES_H__ |
| 6 #define CHROME_BROWSER_SAVE_TYPES_H__ | 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_TYPES_H__ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 | 12 |
| 13 typedef std::vector<std::pair<int, std::wstring> > FinalNameList; | 13 typedef std::vector<std::pair<int, std::wstring> > FinalNameList; |
| 14 typedef std::vector<int> SaveIDList; | 14 typedef std::vector<int> SaveIDList; |
| 15 | 15 |
| 16 // This structure is used to handle and deliver some info | 16 // This structure is used to handle and deliver some info |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // Handle for informing the ResourceDispatcherHost of a UI based cancel. | 60 // Handle for informing the ResourceDispatcherHost of a UI based cancel. |
| 61 int request_id; | 61 int request_id; |
| 62 // Disposition info from HTTP response. | 62 // Disposition info from HTTP response. |
| 63 std::string content_disposition; | 63 std::string content_disposition; |
| 64 // Total bytes of saved file. | 64 // Total bytes of saved file. |
| 65 int64 total_bytes; | 65 int64 total_bytes; |
| 66 // Source type of saved file. | 66 // Source type of saved file. |
| 67 SaveFileSource save_source; | 67 SaveFileSource save_source; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_SAVE_TYPES_H__ | 70 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_TYPES_H__ |
| 71 | 71 |
| OLD | NEW |