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

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

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.cc
diff --git a/chrome/browser/safe_browsing/module_integrity_unittest_util.cc b/chrome/browser/safe_browsing/module_integrity_unittest_util.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6b50e49faddbc0d5758d92ef66a5e6364fe51160
--- /dev/null
+++ b/chrome/browser/safe_browsing/module_integrity_unittest_util.cc
@@ -0,0 +1,24 @@
+// 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.
+
+#include "chrome/browser/safe_browsing/module_integrity_unittest_util.h"
+
+#include <stddef.h>
grt (UTC plus 2) 2014/08/06 01:28:10 unused
krstnmnlsn 2014/08/06 21:55:12 Done.
+
+namespace safe_browsing {
+
+const wchar_t* test_dll_names[3] = {
grt (UTC plus 2) 2014/08/06 01:28:10 [3] -> []
krstnmnlsn 2014/08/06 21:55:12 Done.
+ L"verifier_test_dll_1.dll",
+ L"verifier_test_dll_2.dll",
+ NULL,
+};
+
+int TestDllsCount() {
grt (UTC plus 2) 2014/08/06 01:28:10 size_t kTestDllNamesCount = arraysize(kTestDllName
krstnmnlsn 2014/08/06 21:55:12 Done.
+ int i = 0;
+ while (test_dll_names[i] != NULL)
+ ++i;
+ return i;
+}
+
+} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698