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..1b69647353144dcfe35c7ed59bc1645273d926ca |
--- /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 <string> |
+ |
+// 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 char* kExpectedInstallModules[]; |
+ |
+// Converts a module name, possibly including a path prefix, to a canonical |
+// format for comparison with the values in kExpectedInstallModules. |
+std::string CanonicalizeModuleName(const std::string& module_name); |
+ |
+#endif // CHROME_BROWSER_EXPECTED_INSTALL_MODULES_WIN_H_ |