| 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 24 matching lines...) Expand all Loading... |
| 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" | 43 #include "chrome/browser/browser_thread.h" |
| 44 #include "chrome/browser/download/download_status_updater_delegate.h" | 44 #include "chrome/browser/download/download_status_updater_delegate.h" |
| 45 #include "chrome/browser/shell_dialogs.h" | 45 #include "chrome/browser/ui/shell_dialogs.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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 // The "Save As" dialog box used to ask the user where a file should be | 383 // The "Save As" dialog box used to ask the user where a file should be |
| 384 // saved. | 384 // saved. |
| 385 scoped_refptr<SelectFileDialog> select_file_dialog_; | 385 scoped_refptr<SelectFileDialog> select_file_dialog_; |
| 386 | 386 |
| 387 scoped_ptr<OtherDownloadManagerObserver> other_download_manager_observer_; | 387 scoped_ptr<OtherDownloadManagerObserver> other_download_manager_observer_; |
| 388 | 388 |
| 389 DISALLOW_COPY_AND_ASSIGN(DownloadManager); | 389 DISALLOW_COPY_AND_ASSIGN(DownloadManager); |
| 390 }; | 390 }; |
| 391 | 391 |
| 392 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ | 392 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ |
| OLD | NEW |