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

Unified Diff: chrome/browser/install_module_verifier_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/install_module_verifier_win.h
diff --git a/chrome/browser/install_module_verifier_win.h b/chrome/browser/install_module_verifier_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..d367b75f71511ff429376c8377292137f6caf838
--- /dev/null
+++ b/chrome/browser/install_module_verifier_win.h
@@ -0,0 +1,24 @@
+// 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_INSTALL_MODULE_VERIFIER_WIN_H_
+#define CHROME_BROWSER_INSTALL_MODULE_VERIFIER_WIN_H_
+
+#include "base/callback_forward.h"
+
+namespace base {
+class ListValue;
+} // namespace base
+
+// Starts a background process to verify installed modules. Results are reported
+// via UMA.
+void BeginModuleVerification();
+
+// Verifies a list of installed modules and reports results via the supplied
+// callback. Each reported ID corresponds to a found, expected module listed in
+// expected_install_modules_win.h .
+void VerifyModules(base::ListValue* module_list,
+ const base::Callback<void(size_t)>& delegate);
+
+#endif // CHROME_BROWSER_INSTALL_MODULE_VERIFIER_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698