| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 virtual std::string GetOriginalMimeType() const OVERRIDE; | 120 virtual std::string GetOriginalMimeType() const OVERRIDE; |
| 121 virtual std::string GetRemoteAddress() const OVERRIDE; | 121 virtual std::string GetRemoteAddress() const OVERRIDE; |
| 122 virtual bool HasUserGesture() const OVERRIDE; | 122 virtual bool HasUserGesture() const OVERRIDE; |
| 123 virtual PageTransition GetTransitionType() const OVERRIDE; | 123 virtual PageTransition GetTransitionType() const OVERRIDE; |
| 124 virtual const std::string& GetLastModifiedTime() const OVERRIDE; | 124 virtual const std::string& GetLastModifiedTime() const OVERRIDE; |
| 125 virtual const std::string& GetETag() const OVERRIDE; | 125 virtual const std::string& GetETag() const OVERRIDE; |
| 126 virtual bool IsSavePackageDownload() const OVERRIDE; | 126 virtual bool IsSavePackageDownload() const OVERRIDE; |
| 127 virtual const base::FilePath& GetFullPath() const OVERRIDE; | 127 virtual const base::FilePath& GetFullPath() const OVERRIDE; |
| 128 virtual const base::FilePath& GetTargetFilePath() const OVERRIDE; | 128 virtual const base::FilePath& GetTargetFilePath() const OVERRIDE; |
| 129 virtual const base::FilePath& GetForcedFilePath() const OVERRIDE; | 129 virtual const base::FilePath& GetForcedFilePath() const OVERRIDE; |
| 130 virtual base::FilePath GetUserVerifiedFilePath() const OVERRIDE; | |
| 131 virtual base::FilePath GetFileNameToReportUser() const OVERRIDE; | 130 virtual base::FilePath GetFileNameToReportUser() const OVERRIDE; |
| 132 virtual TargetDisposition GetTargetDisposition() const OVERRIDE; | 131 virtual TargetDisposition GetTargetDisposition() const OVERRIDE; |
| 133 virtual const std::string& GetHash() const OVERRIDE; | 132 virtual const std::string& GetHash() const OVERRIDE; |
| 134 virtual const std::string& GetHashState() const OVERRIDE; | 133 virtual const std::string& GetHashState() const OVERRIDE; |
| 135 virtual bool GetFileExternallyRemoved() const OVERRIDE; | 134 virtual bool GetFileExternallyRemoved() const OVERRIDE; |
| 136 virtual bool IsDangerous() const OVERRIDE; | 135 virtual bool IsDangerous() const OVERRIDE; |
| 137 virtual DownloadDangerType GetDangerType() const OVERRIDE; | 136 virtual DownloadDangerType GetDangerType() const OVERRIDE; |
| 138 virtual bool TimeRemaining(base::TimeDelta* remaining) const OVERRIDE; | 137 virtual bool TimeRemaining(base::TimeDelta* remaining) const OVERRIDE; |
| 139 virtual int64 CurrentSpeed() const OVERRIDE; | 138 virtual int64 CurrentSpeed() const OVERRIDE; |
| 140 virtual int PercentComplete() const OVERRIDE; | 139 virtual int PercentComplete() const OVERRIDE; |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 const net::BoundNetLog bound_net_log_; | 530 const net::BoundNetLog bound_net_log_; |
| 532 | 531 |
| 533 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; | 532 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; |
| 534 | 533 |
| 535 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); | 534 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); |
| 536 }; | 535 }; |
| 537 | 536 |
| 538 } // namespace content | 537 } // namespace content |
| 539 | 538 |
| 540 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ | 539 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ |
| OLD | NEW |