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 // 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 #include "content/public/browser/browser_thread.h" | 52 #include "content/public/browser/browser_thread.h" |
53 #include "net/base/net_errors.h" | 53 #include "net/base/net_errors.h" |
54 | 54 |
55 class DownloadFileManager; | 55 class DownloadFileManager; |
56 class DownloadIdFactory; | 56 class DownloadIdFactory; |
57 class DownloadRequestHandle; | 57 class DownloadRequestHandle; |
58 class DownloadStatusUpdater; | 58 class DownloadStatusUpdater; |
59 class GURL; | 59 class GURL; |
60 class TabContents; | 60 class TabContents; |
61 struct DownloadCreateInfo; | 61 struct DownloadCreateInfo; |
62 struct DownloadPersistentStoreInfo; | |
cbentzel
2011/11/16 12:28:44
Was this needed due to changes in download_item.h?
benjhayden
2011/11/18 18:59:34
Huh, I guess I don't need that.
| |
62 struct DownloadSaveInfo; | 63 struct DownloadSaveInfo; |
63 | 64 |
64 namespace content { | 65 namespace content { |
65 class BrowserContext; | 66 class BrowserContext; |
66 class DownloadManagerDelegate; | 67 class DownloadManagerDelegate; |
67 } | 68 } |
68 | 69 |
69 // Browser's download manager: manages all downloads and destination view. | 70 // Browser's download manager: manages all downloads and destination view. |
70 class CONTENT_EXPORT DownloadManager | 71 class CONTENT_EXPORT DownloadManager |
71 : public base::RefCountedThreadSafe< | 72 : public base::RefCountedThreadSafe< |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
416 DownloadIdFactory* id_factory_; | 417 DownloadIdFactory* id_factory_; |
417 | 418 |
418 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed. | 419 // TODO(rdsmith): Remove when http://crbug.com/85408 is fixed. |
419 // For debugging only. | 420 // For debugging only. |
420 int64 largest_db_handle_in_history_; | 421 int64 largest_db_handle_in_history_; |
421 | 422 |
422 DISALLOW_COPY_AND_ASSIGN(DownloadManager); | 423 DISALLOW_COPY_AND_ASSIGN(DownloadManager); |
423 }; | 424 }; |
424 | 425 |
425 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ | 426 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ |
OLD | NEW |