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 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ |
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/message_loop_helpers.h" | |
17 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/sequenced_task_runner_helpers.h" |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "content/browser/download/download_item_factory.h" | 19 #include "content/browser/download/download_item_factory.h" |
20 #include "content/browser/download/download_item_impl.h" | 20 #include "content/browser/download/download_item_impl.h" |
21 #include "content/common/content_export.h" | 21 #include "content/common/content_export.h" |
22 #include "content/public/browser/download_manager.h" | 22 #include "content/public/browser/download_manager.h" |
23 | 23 |
24 class DownloadFileManager; | 24 class DownloadFileManager; |
25 | 25 |
26 class CONTENT_EXPORT DownloadManagerImpl | 26 class CONTENT_EXPORT DownloadManagerImpl |
27 : public content::DownloadManager, | 27 : public content::DownloadManager, |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 249 |
250 // Allows an embedder to control behavior. Guaranteed to outlive this object. | 250 // Allows an embedder to control behavior. Guaranteed to outlive this object. |
251 content::DownloadManagerDelegate* delegate_; | 251 content::DownloadManagerDelegate* delegate_; |
252 | 252 |
253 net::NetLog* net_log_; | 253 net::NetLog* net_log_; |
254 | 254 |
255 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); | 255 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); |
256 }; | 256 }; |
257 | 257 |
258 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ | 258 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ |
OLD | NEW |