| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Download utilities. | 5 // Download utilities. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H__ | 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H__ |
| 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H__ | 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H__ |
| 9 | 9 |
| 10 #include <objidl.h> | 10 #include <objidl.h> |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 // Drag support ---------------------------------------------------------------- | 180 // Drag support ---------------------------------------------------------------- |
| 181 | 181 |
| 182 // Helper function for download views to use when acting as a drag source for a | 182 // Helper function for download views to use when acting as a drag source for a |
| 183 // DownloadItem. If 'icon' is NULL, no image will be accompany the drag. | 183 // DownloadItem. If 'icon' is NULL, no image will be accompany the drag. |
| 184 void DragDownload(const DownloadItem* download, SkBitmap* icon); | 184 void DragDownload(const DownloadItem* download, SkBitmap* icon); |
| 185 | 185 |
| 186 // Executable file support ----------------------------------------------------- | 186 // Executable file support ----------------------------------------------------- |
| 187 | 187 |
| 188 // Copy all executable file extensions. | 188 // Copy all executable file extensions. |
| 189 void InitializeExeTypes(std::set<std::wstring>* exe_extensions); | 189 void InitializeExeTypes(std::set<std::string>* exe_extensions); |
| 190 | 190 |
| 191 } // namespace download_util | 191 } // namespace download_util |
| 192 | 192 |
| 193 | 193 |
| 194 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H__ | 194 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H__ |
| 195 | 195 |
| OLD | NEW |