Index: chrome/browser/expected_install_modules_win.h |
diff --git a/chrome/browser/expected_install_modules_win.h b/chrome/browser/expected_install_modules_win.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd62b43e27c954f2fcd39326225ac84212558bf6 |
--- /dev/null |
+++ b/chrome/browser/expected_install_modules_win.h |
@@ -0,0 +1,18 @@ |
+// 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. |
+ |
+#ifndef CHROME_BROWSER_EXPECTED_INSTALL_MODULES_WIN_H_ |
+#define CHROME_BROWSER_EXPECTED_INSTALL_MODULES_WIN_H_ |
+ |
+#include "base/strings/string16.h" |
+ |
+// A list of modules we expect to find after a successful Chrome installation. |
+// If any are missing it implies an installation or upgrade failure. |
+extern const base::char16* kExpectedInstallModules[]; |
+ |
+// Converts a module name, possibly including a path prefix, to a canonical |
+// format for comparison with the values in kExpectedInstallModules. |
+base::string16 CanonicalizeModuleName(const base::string16& module_name); |
+ |
+#endif // CHROME_BROWSER_EXPECTED_INSTALL_MODULES_WIN_H_ |