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 CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
13 #include "chrome/browser/download/all_download_item_notifier.h" | 13 #include "chrome/browser/download/all_download_item_notifier.h" |
14 #include "chrome/browser/download/download_danger_prompt.h" | 14 #include "chrome/browser/download/download_danger_prompt.h" |
15 #include "chrome/browser/download/download_path_reservation_tracker.h" | 15 #include "chrome/browser/download/download_path_reservation_tracker.h" |
16 #include "chrome/browser/extensions/chrome_extension_function.h" | 16 #include "chrome/browser/extensions/chrome_extension_function.h" |
17 #include "chrome/browser/extensions/extension_warning_set.h" | |
18 #include "chrome/common/extensions/api/downloads.h" | 17 #include "chrome/common/extensions/api/downloads.h" |
19 #include "content/public/browser/download_manager.h" | 18 #include "content/public/browser/download_manager.h" |
20 #include "extensions/browser/event_router.h" | 19 #include "extensions/browser/event_router.h" |
21 #include "extensions/browser/extension_registry_observer.h" | 20 #include "extensions/browser/extension_registry_observer.h" |
| 21 #include "extensions/browser/extension_warning_set.h" |
22 | 22 |
23 class DownloadFileIconExtractor; | 23 class DownloadFileIconExtractor; |
24 class DownloadQuery; | 24 class DownloadQuery; |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 class ResourceContext; | 27 class ResourceContext; |
28 class ResourceDispatcherHost; | 28 class ResourceDispatcherHost; |
29 } | 29 } |
30 | 30 |
31 namespace extensions { | 31 namespace extensions { |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 ScopedObserver<extensions::ExtensionRegistry, | 401 ScopedObserver<extensions::ExtensionRegistry, |
402 extensions::ExtensionRegistryObserver> | 402 extensions::ExtensionRegistryObserver> |
403 extension_registry_observer_; | 403 extension_registry_observer_; |
404 | 404 |
405 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); | 405 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); |
406 }; | 406 }; |
407 | 407 |
408 } // namespace extensions | 408 } // namespace extensions |
409 | 409 |
410 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 410 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
OLD | NEW |