Index: chrome/browser/safe_browsing/module_integrity_unittest_util.h |
diff --git a/chrome/browser/safe_browsing/module_integrity_unittest_util.h b/chrome/browser/safe_browsing/module_integrity_unittest_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..357064cc7a16486ece3bd9cf32bd86147ec95eba |
--- /dev/null |
+++ b/chrome/browser/safe_browsing/module_integrity_unittest_util.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2014 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_SAFE_BROWSING_MODULE_INTEGRITY_UNITTEST_UTIL_H_ |
+#define CHROME_BROWSER_SAFE_BROWSING_MODULE_INTEGRITY_UNITTEST_UTIL_H_ |
+ |
+namespace safe_browsing { |
+ |
+// The test dlls used by module_integrity_verifier_win_unittest.cc and |
+// environment_data_collection_win_unittest.cc. The tests assume there exists |
+// at least one entry. |
+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.
|
+ |
+// Returns the number of names in |test_dll_names|. |
+int TestDllsCount(); |
grt (UTC plus 2)
2014/08/06 01:28:10
extern size_t kTestDllNamesCount;
krstnmnlsn
2014/08/06 21:55:12
Done.
|
+ |
+// A function exported by the test dlls in |test_dll_names|. |
+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.
|
+ |
+} // namespace safe_browsing |
+ |
+#endif // CHROME_BROWSER_SAFE_BROWSING_MODULE_INTEGRITY_UNITTEST_UTIL_H_ |