Chromium Code Reviews| 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 | |
|
sky
2013/09/19 20:54:36
Can we use strings in the reporting to avoid havin
erikwright (departed)
2013/09/24 17:33:51
These are UMA metrics we are talking about. To sen
| |
| 10 // reporting. | |
| 11 extern const wchar_t* 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 std::wstring CanonicalizeModuleName(const std::wstring& module_name) { | |
| 32 return StringToLowerASCII(base::FilePath(module_name).BaseName().value()); | |
| 33 } | |
| OLD | NEW |