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

Unified Diff: chrome/browser/safe_browsing/module_integrity_unittest_util_win.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_win.cc
diff --git a/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc b/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc
new file mode 100644
index 0000000000000000000000000000000000000000..14d717a52d7c5bef8fe87c758a043245e1046d18
--- /dev/null
+++ b/chrome/browser/safe_browsing/module_integrity_unittest_util_win.cc
@@ -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.
+
+#include "chrome/browser/safe_browsing/module_integrity_unittest_util_win.h"
+
+#include "base/macros.h"
+
+namespace safe_browsing {
+
+const wchar_t* const kTestDllNames[] = {
+ L"verifier_test_dll_1.dll",
+ L"verifier_test_dll_2.dll",
+ NULL,
grt (UTC plus 2) 2014/08/08 01:08:51 remove NULL
krstnmnlsn 2014/08/08 13:18:08 Done.
+};
+
+// Ignore the last value when iterating over names because |kTestDllNames| is
grt (UTC plus 2) 2014/08/08 01:08:51 don't NULL terminate
krstnmnlsn 2014/08/08 13:18:08 Done.
+// NULL-terminated.
+size_t kTestDllNamesCount = arraysize(kTestDllNames) - 1;
grt (UTC plus 2) 2014/08/08 01:08:51 remove " - 1"
krstnmnlsn 2014/08/08 13:18:08 Done.
+
+const char kTestExportName[] = "DummyExport";
+
+} // namespace safe_browsing

Powered by Google App Engine
This is Rietveld 408576698