| // Copyright 2015 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_UTILITY_SAFE_BROWSING_MAC_DMG_TEST_UTILS_H_ |
| #define CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_TEST_UTILS_H_ |
| |
| #include <stdint.h> |
| |
| #include <vector> |
| |
| #include "base/files/file.h" |
| #include "chrome/utility/safe_browsing/mac/read_stream.h" |
| |
| namespace safe_browsing { |
| namespace dmg { |
| namespace test { |
| |
| // Opens a generated test data file. Uses gtest assertions to verify success, |
| // so this should be called with ASSERT_NO_FATAL_FAILURE(). |
| void GetTestFile(const char* file_name, base::File* file); |
| |
| } // namespace test |
| } // namespace dmg |
| } // namespace safe_browsing |
| |
| #endif // CHROME_UTILITY_SAFE_BROWSING_MAC_DMG_TEST_UTILS_H_ |