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 21 matching lines...) Expand all Loading... |
32 #include <set> | 32 #include <set> |
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 "chrome/browser/pref_member.h" | 42 #include "chrome/browser/prefs/pref_member.h" |
43 #include "chrome/browser/shell_dialogs.h" | 43 #include "chrome/browser/shell_dialogs.h" |
44 | 44 |
45 class DownloadFileManager; | 45 class DownloadFileManager; |
46 class DownloadHistory; | 46 class DownloadHistory; |
47 class DownloadItem; | 47 class DownloadItem; |
48 class GURL; | 48 class GURL; |
49 class PrefService; | 49 class PrefService; |
50 class Profile; | 50 class Profile; |
51 class ResourceDispatcherHost; | 51 class ResourceDispatcherHost; |
52 class URLRequestContextGetter; | 52 class URLRequestContextGetter; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 // The "Save As" dialog box used to ask the user where a file should be | 374 // The "Save As" dialog box used to ask the user where a file should be |
375 // saved. | 375 // saved. |
376 scoped_refptr<SelectFileDialog> select_file_dialog_; | 376 scoped_refptr<SelectFileDialog> select_file_dialog_; |
377 | 377 |
378 scoped_ptr<OtherDownloadManagerObserver> other_download_manager_observer_; | 378 scoped_ptr<OtherDownloadManagerObserver> other_download_manager_observer_; |
379 | 379 |
380 DISALLOW_COPY_AND_ASSIGN(DownloadManager); | 380 DISALLOW_COPY_AND_ASSIGN(DownloadManager); |
381 }; | 381 }; |
382 | 382 |
383 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ | 383 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_H_ |
OLD | NEW |