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

Side by Side Diff: chrome/browser/download/download_exe.cc

Issue 261022: One more bad extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | « no previous file | 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 #include <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 7
8 #include "chrome/browser/download/download_util.h" 8 #include "chrome/browser/download/download_util.h"
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 "prg", 118 "prg",
119 "pst", 119 "pst",
120 "reg", 120 "reg",
121 "scf", 121 "scf",
122 "scr", 122 "scr",
123 "sct", 123 "sct",
124 "shb", 124 "shb",
125 "shs", 125 "shs",
126 "shtm", 126 "shtm",
127 "shtml", 127 "shtml",
128 "svg",
128 "url", 129 "url",
129 "vb", 130 "vb",
130 "vbe", 131 "vbe",
131 "vbs", 132 "vbs",
132 "vsd", 133 "vsd",
133 "vsmacros", 134 "vsmacros",
134 "vss", 135 "vss",
135 "vst", 136 "vst",
136 "vsw", 137 "vsw",
137 "ws", 138 "ws",
(...skipping 19 matching lines...) Expand all
157 #endif 158 #endif
158 }; 159 };
159 160
160 void InitializeExeTypes(std::set<std::string>* exe_extensions) { 161 void InitializeExeTypes(std::set<std::string>* exe_extensions) {
161 DCHECK(exe_extensions); 162 DCHECK(exe_extensions);
162 for (size_t i = 0; i < arraysize(g_executables); ++i) 163 for (size_t i = 0; i < arraysize(g_executables); ++i)
163 exe_extensions->insert(g_executables[i]); 164 exe_extensions->insert(g_executables[i]);
164 } 165 }
165 166
166 } // namespace download_util 167 } // namespace download_util
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698