Chromium Code Reviews| 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 |