Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1979)

Unified Diff: chrome/browser/safe_browsing/module_integrity_unittest_util.h

Issue 440753002: The incident reporting service now calls VerifyModule. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698