| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 182 |
| 183 // Drag support ---------------------------------------------------------------- | 183 // Drag support ---------------------------------------------------------------- |
| 184 | 184 |
| 185 // Helper function for download views to use when acting as a drag source for a | 185 // Helper function for download views to use when acting as a drag source for a |
| 186 // DownloadItem. If 'icon' is NULL, no image will be accompany the drag. | 186 // DownloadItem. If 'icon' is NULL, no image will be accompany the drag. |
| 187 void DragDownload(const DownloadItem* download, SkBitmap* icon); | 187 void DragDownload(const DownloadItem* download, SkBitmap* icon); |
| 188 | 188 |
| 189 // Executable file support ----------------------------------------------------- | 189 // Executable file support ----------------------------------------------------- |
| 190 | 190 |
| 191 // Copy all executable file extensions. | 191 // Copy all executable file extensions. |
| 192 void InitializeExeTypes(std::set<std::wstring>* exe_extensions); | 192 void InitializeExeTypes(std::set<std::string>* exe_extensions); |
| 193 | 193 |
| 194 } // namespace download_util | 194 } // namespace download_util |
| 195 | 195 |
| 196 | 196 |
| 197 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ | 197 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ |
| 198 | 198 |
| OLD | NEW |