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 <set> | 8 #include <set> |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/install_verification/win/module_info.h" | 10 #include "chrome/browser/install_verification/win/module_info.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
12 | 12 |
13 struct ModuleInfo; | 13 struct ModuleInfo; |
14 | 14 |
15 class ModuleVerificationTest : public testing::Test { | 15 class ModuleVerificationTest : public testing::Test { |
16 public: | 16 public: |
17 virtual void SetUp() OVERRIDE; | 17 virtual void SetUp() override; |
18 | 18 |
19 protected: | 19 protected: |
20 bool GetLoadedModuleInfoSet(std::set<ModuleInfo>* loaded_module_info_set); | 20 bool GetLoadedModuleInfoSet(std::set<ModuleInfo>* loaded_module_info_set); |
21 | 21 |
22 static void ReportModule(size_t module_id); | 22 static void ReportModule(size_t module_id); |
23 | 23 |
24 static std::set<size_t> reported_module_ids_; | 24 static std::set<size_t> reported_module_ids_; |
25 }; | 25 }; |
26 | 26 |
27 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ | 27 #endif // CHROME_BROWSER_INSTALL_VERIFICATION_WIN_MODULE_VERIFICATION_TEST_H_ |
28 | 28 |
OLD | NEW |