| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/compiler_specific.h" | 5 #include "base/compiler_specific.h" |
| 6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 installer_.get(), | 180 installer_.get(), |
| 181 &error); | 181 &error); |
| 182 EXPECT_EQ(ComponentUnpacker::kNone, result); | 182 EXPECT_EQ(ComponentUnpacker::kNone, result); |
| 183 EXPECT_EQ(0, error); | 183 EXPECT_EQ(0, error); |
| 184 EXPECT_TRUE(base::ContentsEqual( | 184 EXPECT_TRUE(base::ContentsEqual( |
| 185 unpack_dir_.path().Append(FILE_PATH_LITERAL("output.bin")), | 185 unpack_dir_.path().Append(FILE_PATH_LITERAL("output.bin")), |
| 186 test_file("binary_output.bin"))); | 186 test_file("binary_output.bin"))); |
| 187 } | 187 } |
| 188 | 188 |
| 189 } // namespace component_updater | 189 } // namespace component_updater |
| 190 | |
| OLD | NEW |