OLD | NEW |
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_EXTENSIONS_EXTENSION_DOWNLOADS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_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/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
14 #include "chrome/browser/download/download_item.h" | |
15 #include "chrome/browser/download/download_manager.h" | |
16 #include "chrome/browser/extensions/extension_function.h" | 14 #include "chrome/browser/extensions/extension_function.h" |
| 15 #include "content/browser/download/download_item.h" |
| 16 #include "content/browser/download/download_manager.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class DictionaryValue; | 19 class DictionaryValue; |
20 } | 20 } |
21 class ResourceDispatcherHost; | 21 class ResourceDispatcherHost; |
22 class TabContents; | 22 class TabContents; |
23 namespace content { | 23 namespace content { |
24 class ResourceContext; | 24 class ResourceContext; |
25 } | 25 } |
26 | 26 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 DownloadsDragFunction(); | 153 DownloadsDragFunction(); |
154 virtual ~DownloadsDragFunction(); | 154 virtual ~DownloadsDragFunction(); |
155 DECLARE_EXTENSION_FUNCTION_NAME("experimental.downloads.drag"); | 155 DECLARE_EXTENSION_FUNCTION_NAME("experimental.downloads.drag"); |
156 | 156 |
157 virtual bool RunImpl() OVERRIDE; | 157 virtual bool RunImpl() OVERRIDE; |
158 | 158 |
159 private: | 159 private: |
160 DISALLOW_COPY_AND_ASSIGN(DownloadsDragFunction); | 160 DISALLOW_COPY_AND_ASSIGN(DownloadsDragFunction); |
161 }; | 161 }; |
162 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_H_ | 162 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DOWNLOADS_API_H_ |
OLD | NEW |