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

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

Issue 29003: Make download manager treat mixed-case extensions the same as lower-case exte... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months 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
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698