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 // The DownloadManager object manages the process of downloading, including | 5 // The DownloadManager object manages the process of downloading, including |
6 // updates to the history system and providing the information for displaying | 6 // updates to the history system and providing the information for displaying |
7 // the downloads view in the Destinations tab. There is one DownloadManager per | 7 // the downloads view in the Destinations tab. There is one DownloadManager per |
8 // active browser context in Chrome. | 8 // active browser context in Chrome. |
9 // | 9 // |
10 // Download observers: | 10 // Download observers: |
(...skipping 25 matching lines...) Expand all Loading... |
36 #include "base/gtest_prod_util.h" | 36 #include "base/gtest_prod_util.h" |
37 #include "base/sequenced_task_runner_helpers.h" | 37 #include "base/sequenced_task_runner_helpers.h" |
38 #include "base/time.h" | 38 #include "base/time.h" |
39 #include "content/public/browser/browser_thread.h" | 39 #include "content/public/browser/browser_thread.h" |
40 #include "content/public/browser/download_id.h" | 40 #include "content/public/browser/download_id.h" |
41 #include "content/public/browser/download_interrupt_reasons.h" | 41 #include "content/public/browser/download_interrupt_reasons.h" |
42 #include "content/public/browser/download_item.h" | 42 #include "content/public/browser/download_item.h" |
43 #include "net/base/net_errors.h" | 43 #include "net/base/net_errors.h" |
44 #include "net/base/net_log.h" | 44 #include "net/base/net_log.h" |
45 | 45 |
46 class DownloadRequestHandle; | |
47 class GURL; | 46 class GURL; |
48 struct DownloadCreateInfo; | 47 struct DownloadCreateInfo; |
49 struct DownloadRetrieveInfo; | 48 struct DownloadRetrieveInfo; |
50 | 49 |
51 namespace content { | 50 namespace content { |
52 | 51 |
53 class BrowserContext; | 52 class BrowserContext; |
54 class ByteStreamReader; | 53 class ByteStreamReader; |
55 class DownloadManagerDelegate; | 54 class DownloadManagerDelegate; |
56 class DownloadQuery; | 55 class DownloadQuery; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 protected: | 199 protected: |
201 virtual ~DownloadManager() {} | 200 virtual ~DownloadManager() {} |
202 | 201 |
203 private: | 202 private: |
204 friend class base::RefCountedThreadSafe<DownloadManager>; | 203 friend class base::RefCountedThreadSafe<DownloadManager>; |
205 }; | 204 }; |
206 | 205 |
207 } // namespace content | 206 } // namespace content |
208 | 207 |
209 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_H_ | 208 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MANAGER_H_ |
OLD | NEW |