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

Side by Side Diff: chrome/browser/download/download_extension_api.h

Issue 8539006: Cleanup: Remove unneeded forward declarations from various chrome/browser subdirectories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSION_API_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "chrome/browser/extensions/extension_function.h" 16 #include "chrome/browser/extensions/extension_function.h"
17 #include "content/browser/download/download_item.h" 17 #include "content/browser/download/download_item.h"
18 #include "content/browser/download/download_manager.h" 18 #include "content/browser/download/download_manager.h"
19 19
20 namespace base {
21 class DictionaryValue;
22 }
23 class ResourceDispatcherHost; 20 class ResourceDispatcherHost;
24 class TabContents; 21
25 namespace content { 22 namespace content {
26 class ResourceContext; 23 class ResourceContext;
27 } 24 }
28 25
29 // Functions in the chrome.experimental.downloads namespace facilitate 26 // Functions in the chrome.experimental.downloads namespace facilitate
30 // controlling downloads from extensions. See the full API doc at 27 // controlling downloads from extensions. See the full API doc at
31 // http://goo.gl/6hO1n 28 // http://goo.gl/6hO1n
32 29
33 class DownloadsFunctionInterface { 30 class DownloadsFunctionInterface {
34 public: 31 public:
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 typedef base::hash_map<int, DownloadItem*> ItemMap; 265 typedef base::hash_map<int, DownloadItem*> ItemMap;
269 typedef std::set<int> DownloadIdSet; 266 typedef std::set<int> DownloadIdSet;
270 267
271 Profile* profile_; 268 Profile* profile_;
272 DownloadManager* manager_; 269 DownloadManager* manager_;
273 DownloadIdSet downloads_; 270 DownloadIdSet downloads_;
274 271
275 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); 272 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter);
276 }; 273 };
277 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_H_ 274 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_EXTENSION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698