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_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ |
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const std::vector<GURL>& url_chain, | 88 const std::vector<GURL>& url_chain, |
89 const GURL& referrer_url, | 89 const GURL& referrer_url, |
90 const std::string& mime_type, | 90 const std::string& mime_type, |
91 const std::string& original_mime_type, | 91 const std::string& original_mime_type, |
92 const base::Time& start_time, | 92 const base::Time& start_time, |
93 const base::Time& end_time, | 93 const base::Time& end_time, |
94 const std::string& etag, | 94 const std::string& etag, |
95 const std::string& last_modified, | 95 const std::string& last_modified, |
96 int64_t received_bytes, | 96 int64_t received_bytes, |
97 int64_t total_bytes, | 97 int64_t total_bytes, |
| 98 const std::string& hash, |
98 content::DownloadItem::DownloadState state, | 99 content::DownloadItem::DownloadState state, |
99 DownloadDangerType danger_type, | 100 DownloadDangerType danger_type, |
100 DownloadInterruptReason interrupt_reason, | 101 DownloadInterruptReason interrupt_reason, |
101 bool opened) override; | 102 bool opened) override; |
102 int InProgressCount() const override; | 103 int InProgressCount() const override; |
103 int NonMaliciousInProgressCount() const override; | 104 int NonMaliciousInProgressCount() const override; |
104 BrowserContext* GetBrowserContext() const override; | 105 BrowserContext* GetBrowserContext() const override; |
105 void CheckForHistoryFilesRemoval() override; | 106 void CheckForHistoryFilesRemoval() override; |
106 DownloadItem* GetDownload(uint32_t id) override; | 107 DownloadItem* GetDownload(uint32_t id) override; |
107 | 108 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 url_downloaders_; | 209 url_downloaders_; |
209 | 210 |
210 base::WeakPtrFactory<DownloadManagerImpl> weak_factory_; | 211 base::WeakPtrFactory<DownloadManagerImpl> weak_factory_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); | 213 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace content | 216 } // namespace content |
216 | 217 |
217 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ | 218 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ |
OLD | NEW |