Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1133)

Unified Diff: chrome/browser/expected_install_modules_win.h

Issue 23513049: Implement install module verification metric. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1d47b2b54b8abf50cdafa1d0ea24a623aa746e90
--- /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 wchar_t* kExpectedInstallModules[];
+
+// Converts a module name, possibly including a path prefix, to a canonical
+// format for comparison with the values in kExpectedInstallModules.
+std::wstring CanonicalizeModuleName(const std::wstring& module_name);
+
+#endif // CHROME_BROWSER_EXPECTED_INSTALL_MODULES_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698