Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: chrome/browser/extensions/api/downloads/downloads_api.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/scoped_observer.h" 14 #include "base/scoped_observer.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "chrome/browser/download/all_download_item_notifier.h" 16 #include "chrome/browser/download/all_download_item_notifier.h"
17 #include "chrome/browser/download/download_danger_prompt.h" 17 #include "chrome/browser/download/download_danger_prompt.h"
18 #include "chrome/browser/download/download_path_reservation_tracker.h" 18 #include "chrome/browser/download/download_path_reservation_tracker.h"
19 #include "chrome/browser/extensions/chrome_extension_function.h" 19 #include "chrome/browser/extensions/chrome_extension_function.h"
20 #include "chrome/common/extensions/api/downloads.h" 20 #include "chrome/common/extensions/api/downloads.h"
21 #include "content/public/browser/download_manager.h" 21 #include "content/public/browser/download_manager.h"
22 #include "extensions/browser/event_router.h" 22 #include "extensions/browser/event_router.h"
23 #include "extensions/browser/extension_registry_observer.h" 23 #include "extensions/browser/extension_registry_observer.h"
24 #include "extensions/browser/warning_set.h" 24 #include "extensions/browser/warning_set.h"
25 25
26 class DownloadFileIconExtractor; 26 class DownloadFileIconExtractor;
27 class DownloadQuery;
28
29 namespace content {
30 class ResourceContext;
31 class ResourceDispatcherHost;
32 }
33 27
34 namespace extensions { 28 namespace extensions {
35 class ExtensionRegistry; 29 class ExtensionRegistry;
36 } 30 }
37 31
38 // Functions in the chrome.downloads namespace facilitate 32 // Functions in the chrome.downloads namespace facilitate
39 // controlling downloads from extensions. See the full API doc at 33 // controlling downloads from extensions. See the full API doc at
40 // http://goo.gl/6hO1n 34 // http://goo.gl/6hO1n
41 35
42 namespace download_extension_errors { 36 namespace download_extension_errors {
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 ScopedObserver<extensions::ExtensionRegistry, 401 ScopedObserver<extensions::ExtensionRegistry,
408 extensions::ExtensionRegistryObserver> 402 extensions::ExtensionRegistryObserver>
409 extension_registry_observer_; 403 extension_registry_observer_;
410 404
411 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); 405 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter);
412 }; 406 };
413 407
414 } // namespace extensions 408 } // namespace extensions
415 409
416 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ 410 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698