OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/utility/safe_browsing/mac/udif.h" | 5 #include "chrome/utility/safe_browsing/mac/udif.h" |
6 | 6 |
7 #include <hfs/hfs_format.h> | 7 #include <hfs/hfs_format.h> |
8 #include <libkern/OSByteOrder.h> | 8 #include <libkern/OSByteOrder.h> |
| 9 #include <stddef.h> |
| 10 #include <stdint.h> |
9 | 11 |
10 #include "base/files/file.h" | 12 #include "base/files/file.h" |
11 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
12 #include "chrome/utility/safe_browsing/mac/dmg_test_utils.h" | 14 #include "chrome/utility/safe_browsing/mac/dmg_test_utils.h" |
13 #include "chrome/utility/safe_browsing/mac/read_stream.h" | 15 #include "chrome/utility/safe_browsing/mac/read_stream.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
15 | 17 |
16 namespace safe_browsing { | 18 namespace safe_browsing { |
17 namespace dmg { | 19 namespace dmg { |
18 namespace { | 20 namespace { |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 {"dmg_UFBI_SPUD.dmg", kAPMExpectedPartitions, UDIFTestCase::ALL_PASS}, | 251 {"dmg_UFBI_SPUD.dmg", kAPMExpectedPartitions, UDIFTestCase::ALL_PASS}, |
250 }; | 252 }; |
251 | 253 |
252 INSTANTIATE_TEST_CASE_P(UDIFParserTest, UDIFParserTest, | 254 INSTANTIATE_TEST_CASE_P(UDIFParserTest, UDIFParserTest, |
253 testing::ValuesIn(cases), | 255 testing::ValuesIn(cases), |
254 UDIFTestCase::GetTestName); | 256 UDIFTestCase::GetTestName); |
255 | 257 |
256 } // namespace | 258 } // namespace |
257 } // namespace dmg | 259 } // namespace dmg |
258 } // namespace safe_browsing | 260 } // namespace safe_browsing |
OLD | NEW |