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_util.h" | 8 #include "chrome/browser/download/download_util.h" |
9 | 9 |
10 namespace download_util { | 10 namespace download_util { |
11 | 11 |
12 // For file extensions taken from mozilla: | 12 // For file extensions taken from mozilla: |
13 | 13 |
14 /* ***** BEGIN LICENSE BLOCK ***** | 14 /* ***** BEGIN LICENSE BLOCK ***** |
15 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 15 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
16 * | 16 * |
17 * The contents of this file are subject to the Mozilla Public License Version | 17 * The contents of this file are subject to the Mozilla Public License Version |
18 * 1.1 (the "License"); you may not use this file except in compliance with | 18 * 1.1 (the "License"); you may not use this file except in compliance with |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 }; | 128 }; |
129 | 129 |
130 void InitializeExeTypes(std::set<std::wstring>* exe_extensions) { | 130 void InitializeExeTypes(std::set<std::wstring>* exe_extensions) { |
131 DCHECK(exe_extensions); | 131 DCHECK(exe_extensions); |
132 for (size_t i = 0; i < arraysize(g_executables); ++i) | 132 for (size_t i = 0; i < arraysize(g_executables); ++i) |
133 exe_extensions->insert(g_executables[i]); | 133 exe_extensions->insert(g_executables[i]); |
134 } | 134 } |
135 | 135 |
136 } // namespace download_util | 136 } // namespace download_util |
137 | 137 |
OLD | NEW |