| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ |
| 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 // Last reason. | 320 // Last reason. |
| 321 content::DownloadInterruptReason last_reason_; | 321 content::DownloadInterruptReason last_reason_; |
| 322 | 322 |
| 323 // Start time for recording statistics. | 323 // Start time for recording statistics. |
| 324 base::TimeTicks start_tick_; | 324 base::TimeTicks start_tick_; |
| 325 | 325 |
| 326 // The current state of this download. | 326 // The current state of this download. |
| 327 DownloadState state_; | 327 DownloadState state_; |
| 328 | 328 |
| 329 // The views of this item in the download shelf and download tab. | 329 // The views of this item in the download shelf and download contents. |
| 330 ObserverList<Observer> observers_; | 330 ObserverList<Observer> observers_; |
| 331 | 331 |
| 332 // Time the download was started. | 332 // Time the download was started. |
| 333 base::Time start_time_; | 333 base::Time start_time_; |
| 334 | 334 |
| 335 // Time the download completed. | 335 // Time the download completed. |
| 336 base::Time end_time_; | 336 base::Time end_time_; |
| 337 | 337 |
| 338 // Our persistent store handle. | 338 // Our persistent store handle. |
| 339 int64 db_handle_; | 339 int64 db_handle_; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 // are owned by the DownloadItemImpl. | 386 // are owned by the DownloadItemImpl. |
| 387 std::map<const void*, ExternalData*> external_data_map_; | 387 std::map<const void*, ExternalData*> external_data_map_; |
| 388 | 388 |
| 389 // Net log to use for this download. | 389 // Net log to use for this download. |
| 390 const net::BoundNetLog bound_net_log_; | 390 const net::BoundNetLog bound_net_log_; |
| 391 | 391 |
| 392 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); | 392 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); |
| 393 }; | 393 }; |
| 394 | 394 |
| 395 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ | 395 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ |
| OLD | NEW |