Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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_SAFE_BROWSING_MODULE_INTEGRITY_UNITTEST_UTIL_H_ | |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_MODULE_INTEGRITY_UNITTEST_UTIL_H_ | |
| 7 | |
| 8 namespace safe_browsing { | |
| 9 | |
| 10 // The test dlls used by module_integrity_verifier_win_unittest.cc and | |
| 11 // environment_data_collection_win_unittest.cc. The tests assume there exists | |
| 12 // at least one entry. | |
| 13 const wchar_t* test_dll_names[]; | |
|
grt (UTC plus 2)
2014/08/06 01:28:10
extern const wchar_t* const kTestDllNames[];
krstnmnlsn
2014/08/06 21:55:12
Done.
| |
| 14 | |
| 15 // Returns the number of names in |test_dll_names|. | |
| 16 int TestDllsCount(); | |
|
grt (UTC plus 2)
2014/08/06 01:28:10
extern size_t kTestDllNamesCount;
krstnmnlsn
2014/08/06 21:55:12
Done.
| |
| 17 | |
| 18 // A function exported by the test dlls in |test_dll_names|. | |
| 19 const char kTestExportName[] = "DummyExport"; | |
|
grt (UTC plus 2)
2014/08/06 01:28:10
extern const char kTestExportName[];
and put the d
krstnmnlsn
2014/08/06 21:55:12
Done.
| |
| 20 | |
| 21 } // namespace safe_browsing | |
| 22 | |
| 23 #endif // CHROME_BROWSER_SAFE_BROWSING_MODULE_INTEGRITY_UNITTEST_UTIL_H_ | |
| OLD | NEW |