| 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 // Download struct used for informing and querying the history service. | 5 // Download struct used for informing and querying the history service. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ | 7 #ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ |
| 8 #define CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ | 8 #define CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 46 |
| 47 // The number of bytes received (so far). | 47 // The number of bytes received (so far). |
| 48 int64 received_bytes; | 48 int64 received_bytes; |
| 49 | 49 |
| 50 // The total number of bytes in the download. | 50 // The total number of bytes in the download. |
| 51 int64 total_bytes; | 51 int64 total_bytes; |
| 52 | 52 |
| 53 // The current state of the download. | 53 // The current state of the download. |
| 54 int32 state; | 54 int32 state; |
| 55 | 55 |
| 56 // The handle of the download in the database. | 56 // This download item's unique persistent identifier. |
| 57 int64 db_handle; | 57 int64 db_handle; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ | 60 #endif // CHROME_BROWSER_HISTORY_DOWNLOAD_HISTORY_INFO_H_ |
| OLD | NEW |