| 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/read_stream.h" | 5 #include "chrome/utility/safe_browsing/mac/read_stream.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <vector> | 10 #include <vector> |
| 8 | 11 |
| 9 #include "base/files/file.h" | 12 #include "base/files/file.h" |
| 10 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 11 #include "base/files/scoped_temp_dir.h" | 14 #include "base/files/scoped_temp_dir.h" |
| 12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/path_service.h" | 16 #include "base/path_service.h" |
| 14 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
| 15 #include "chrome/utility/safe_browsing/mac/dmg_test_utils.h" | 18 #include "chrome/utility/safe_browsing/mac/dmg_test_utils.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 } | 205 } |
| 203 | 206 |
| 204 { | 207 { |
| 205 EXPECT_EQ(100, stream->Seek(0, SEEK_END)); | 208 EXPECT_EQ(100, stream->Seek(0, SEEK_END)); |
| 206 EXPECT_EQ(100, stream->Seek(0, SEEK_CUR)); | 209 EXPECT_EQ(100, stream->Seek(0, SEEK_CUR)); |
| 207 } | 210 } |
| 208 } | 211 } |
| 209 | 212 |
| 210 } // namespace dmg | 213 } // namespace dmg |
| 211 } // namespace safe_browsing | 214 } // namespace safe_browsing |
| OLD | NEW |