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 #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 Loading... |
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 Loading... |
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 |
OLD | NEW |