| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ | 5 #ifndef CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ |
| 6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ | 6 #define CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <set> | 10 #include <set> |
| 9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/install_verification/win/module_info.h" | 12 #include "chrome/browser/install_verification/win/module_info.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 14 |
| 13 struct ModuleInfo; | 15 struct ModuleInfo; |
| 14 | 16 |
| 15 class ModuleVerificationTest : public testing::Test { | 17 class ModuleVerificationTest : public testing::Test { |
| 16 public: | 18 public: |
| 17 void SetUp() override; | 19 void SetUp() override; |
| 18 | 20 |
| 19 protected: | 21 protected: |
| 20 bool GetLoadedModuleInfoSet(std::set<ModuleInfo>* loaded_module_info_set); | 22 bool GetLoadedModuleInfoSet(std::set<ModuleInfo>* loaded_module_info_set); |
| 21 | 23 |
| 22 static void ReportModule(size_t module_id); | 24 static void ReportModule(size_t module_id); |
| 23 | 25 |
| 24 static std::set<size_t> reported_module_ids_; | 26 static std::set<size_t> reported_module_ids_; |
| 25 }; | 27 }; |
| 26 | 28 |
| 27 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ | 29 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ |
| 28 | 30 |
| OLD | NEW |