OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/expected_install_modules_win.h" |
| 6 #include "base/files/file_path.h" |
| 7 #include "base/strings/string_util.h" |
| 8 |
| 9 // DO NOT REORDER THESE ELEMENTS. Their index is used as an ID in metrics |
| 10 // reporting. |
| 11 extern const base::char16* kExpectedInstallModules[] = { |
| 12 L"chrome.dll", |
| 13 L"icudt.dll", |
| 14 L"chrome_frame_helper.dll", |
| 15 L"d3dcompiler_46.dll", |
| 16 L"libglesv2.dll", |
| 17 L"metro_driver.dll", |
| 18 L"pdf.dll", |
| 19 L"widevinecdmadapter.dll", |
| 20 L"chrome_child.dll", |
| 21 L"d3dcompiler_43.dll", |
| 22 L"ffmpegsumo.dll", |
| 23 L"libegl.dll", |
| 24 L"libpeerconnection.dll", |
| 25 L"npchrome_frame.dll", |
| 26 L"ppgooglenaclpluginchrome.dll", |
| 27 L"xinput1_3.dll", |
| 28 NULL |
| 29 }; |
| 30 |
| 31 base::string16 CanonicalizeModuleName(const base::string16& module_name) { |
| 32 return StringToLowerASCII(base::FilePath(module_name).BaseName().value()); |
| 33 } |
OLD | NEW |