OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_INSTALL_MODULE_VERIFIER_WIN_H_ |
| 6 #define CHROME_BROWSER_INSTALL_MODULE_VERIFIER_WIN_H_ |
| 7 |
| 8 #include <set> |
| 9 |
| 10 #include "base/callback_forward.h" |
| 11 #include "base/strings/string16.h" |
| 12 |
| 13 namespace base { |
| 14 class ListValue; |
| 15 } // namespace base |
| 16 |
| 17 // Starts a background process to verify installed modules. Results are reported |
| 18 // via UMA. |
| 19 void BeginModuleVerification(); |
| 20 |
| 21 // Converts a list of modules descriptions extracted from EnumerateModulesModel |
| 22 // into a list of canonicalized loaded module names. |
| 23 void ExtractLoadedModuleNames(const base::ListValue& module_list, |
| 24 std::set<base::string16>* loaded_module_names); |
| 25 |
| 26 // Verifies a list of installed modules and reports results via the supplied |
| 27 // callback. Each reported ID corresponds to a found, expected module listed in |
| 28 // expected_install_modules_win.h. |
| 29 void VerifyModules(const std::set<base::string16>& module_list, |
| 30 const base::Callback<void(size_t)>& delegate); |
| 31 |
| 32 #endif // CHROME_BROWSER_INSTALL_MODULE_VERIFIER_WIN_H_ |
OLD | NEW |