OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 profile in Chrome. | 8 // active profile in Chrome. |
9 // | 9 // |
10 // Download observers: | 10 // Download observers: |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include <string> | 33 #include <string> |
34 #include <vector> | 34 #include <vector> |
35 | 35 |
36 #include "base/basictypes.h" | 36 #include "base/basictypes.h" |
37 #include "base/file_path.h" | 37 #include "base/file_path.h" |
38 #include "base/observer_list.h" | 38 #include "base/observer_list.h" |
39 #include "base/ref_counted.h" | 39 #include "base/ref_counted.h" |
40 #include "base/scoped_ptr.h" | 40 #include "base/scoped_ptr.h" |
41 #include "base/time.h" | 41 #include "base/time.h" |
42 #include "base/weak_ptr.h" | 42 #include "base/weak_ptr.h" |
43 #include "chrome/browser/browser_thread.h" | |
44 #include "chrome/browser/download/download_status_updater_delegate.h" | 43 #include "chrome/browser/download/download_status_updater_delegate.h" |
45 #include "chrome/browser/ui/shell_dialogs.h" | 44 #include "chrome/browser/ui/shell_dialogs.h" |
| 45 #include "content/browser/browser_thread.h" |
46 | 46 |
47 class DownloadFileManager; | 47 class DownloadFileManager; |
48 class DownloadHistory; | 48 class DownloadHistory; |
49 class DownloadItem; | 49 class DownloadItem; |
50 class DownloadPrefs; | 50 class DownloadPrefs; |
51 class DownloadStatusUpdater; | 51 class DownloadStatusUpdater; |
52 class GURL; | 52 class GURL; |
53 class Profile; | 53 class Profile; |
54 class ResourceDispatcherHost; | 54 class ResourceDispatcherHost; |
55 class URLRequestContextGetter; | 55 class URLRequestContextGetter; |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 // The "Save As" dialog box used to ask the user where a file should be | 385 // The "Save As" dialog box used to ask the user where a file should be |
386 // saved. | 386 // saved. |
387 scoped_refptr<SelectFileDialog> select_file_dialog_; | 387 scoped_refptr<SelectFileDialog> select_file_dialog_; |
388 | 388 |
389 scoped_ptr<OtherDownloadManagerObserver> other_download_manager_observer_; | 389 scoped_ptr<OtherDownloadManagerObserver> other_download_manager_observer_; |
390 | 390 |
391 DISALLOW_COPY_AND_ASSIGN(DownloadManager); | 391 DISALLOW_COPY_AND_ASSIGN(DownloadManager); |
392 }; | 392 }; |
393 | 393 |
394 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ | 394 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ |
OLD | NEW |