Chromium Code Reviews| Index: chrome/browser/expected_install_modules_win.cc |
| diff --git a/chrome/browser/expected_install_modules_win.cc b/chrome/browser/expected_install_modules_win.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..06c41f192525931ea65d38ac8f091b90545a3b06 |
| --- /dev/null |
| +++ b/chrome/browser/expected_install_modules_win.cc |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/expected_install_modules_win.h" |
| +#include "base/files/file_path.h" |
| +#include "base/strings/string_util.h" |
| + |
| +// Do not reorder these elements. Their index is used as an ID in metrics |
| +// reporting. |
| +extern const wchar_t* kExpectedInstallModules[] = { |
| + L"chrome.dll", |
| + L"icudt.dll", |
| + L"chrome_frame_helper.dll", |
| + L"d3dcompiler_46.dll", |
| + L"libglesv2.dll", |
| + L"metro_driver.dll", |
| + L"pdf.dll", |
| + L"widevinecdmadapter.dll", |
| + L"chrome_child.dll", |
| + L"d3dcompiler_43.dll", |
| + L"ffmpegsumo.dll", |
| + L"libegl.dll", |
| + L"libpeerconnection.dll", |
| + L"npchrome_frame.dll", |
| + L"ppgooglenaclpluginchrome.dll", |
| + L"xinput1_3.dll", |
| + 0 |
|
MAD
2013/09/17 15:20:21
0 -> NULL?
|
| +}; |
| + |
| +std::wstring CanonicalizeModuleName(const std::wstring& module_name) { |
| + return StringToLowerASCII(base::FilePath(module_name).BaseName().value()); |
| +} |