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..479f04e78380b40b9e92124dc417a5c2c6f1b4a4 |
--- /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 base::char16* 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", |
+ NULL |
+}; |
+ |
+base::string16 CanonicalizeModuleName(const base::string16& module_name) { |
+ return StringToLowerASCII(base::FilePath(module_name).BaseName().value()); |
+} |