OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_IMPL_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_IMPL_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/download/download_service.h" | 11 #include "chrome/browser/download/download_service.h" |
12 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
13 | 13 |
14 class ChromeDownloadManagerDelegate; | 14 class ChromeDownloadManagerDelegate; |
15 class DownloadHistory; | 15 class DownloadHistory; |
16 class DownloadUIController; | 16 class DownloadUIController; |
17 class ExtensionDownloadsEventRouter; | 17 class ExtensionDownloadsEventRouter; |
18 class Profile; | 18 class Profile; |
19 | 19 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // should be a separate EDER for on-record and off-record managers. | 76 // should be a separate EDER for on-record and off-record managers. |
77 // There does not appear to be a separate ExtensionSystem for on-record and | 77 // There does not appear to be a separate ExtensionSystem for on-record and |
78 // off-record profiles, so ExtensionSystem cannot own the EDER. | 78 // off-record profiles, so ExtensionSystem cannot own the EDER. |
79 scoped_ptr<extensions::ExtensionDownloadsEventRouter> extension_event_router_; | 79 scoped_ptr<extensions::ExtensionDownloadsEventRouter> extension_event_router_; |
80 #endif | 80 #endif |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(DownloadServiceImpl); | 82 DISALLOW_COPY_AND_ASSIGN(DownloadServiceImpl); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_IMPL_H_ | 85 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_SERVICE_IMPL_H_ |
OLD | NEW |