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

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

Issue 28096: Merge 10246 - Fixes issue with download shelf not warning on .exe files... (Closed) Base URL: svn://chrome-svn/chrome/branches/chrome_official_branch/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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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