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 namespace download_util { | 10 namespace download_util { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 L"app", | 59 L"app", |
60 L"application", | 60 L"application", |
61 L"asp", | 61 L"asp", |
62 L"bas", | 62 L"bas", |
63 L"bat", | 63 L"bat", |
64 L"chm", | 64 L"chm", |
65 L"cmd", | 65 L"cmd", |
66 L"com", | 66 L"com", |
67 L"cpl", | 67 L"cpl", |
68 L"crt", | 68 L"crt", |
| 69 L"dll", |
69 L"exe", | 70 L"exe", |
70 L"fxp", | 71 L"fxp", |
71 L"hlp", | 72 L"hlp", |
72 L"hta", | 73 L"hta", |
73 L"inf", | 74 L"inf", |
74 L"ins", | 75 L"ins", |
75 L"isp", | 76 L"isp", |
| 77 L"jar", |
76 L"js", | 78 L"js", |
77 L"jse", | 79 L"jse", |
78 L"lnk", | 80 L"lnk", |
79 L"mad", | 81 L"mad", |
80 L"maf", | 82 L"maf", |
81 L"mag", | 83 L"mag", |
82 L"mam", | 84 L"mam", |
83 L"maq", | 85 L"maq", |
84 L"mar", | 86 L"mar", |
85 L"mas", | 87 L"mas", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 }; | 130 }; |
129 | 131 |
130 void InitializeExeTypes(std::set<std::wstring>* exe_extensions) { | 132 void InitializeExeTypes(std::set<std::wstring>* exe_extensions) { |
131 DCHECK(exe_extensions); | 133 DCHECK(exe_extensions); |
132 for (size_t i = 0; i < arraysize(g_executables); ++i) | 134 for (size_t i = 0; i < arraysize(g_executables); ++i) |
133 exe_extensions->insert(g_executables[i]); | 135 exe_extensions->insert(g_executables[i]); |
134 } | 136 } |
135 | 137 |
136 } // namespace download_util | 138 } // namespace download_util |
137 | 139 |
OLD | NEW |