| Index: chrome/browser/component_updater/test/component_patcher_unittest.cc
|
| diff --git a/chrome/browser/component_updater/test/component_patcher_unittest.cc b/chrome/browser/component_updater/test/component_patcher_unittest.cc
|
| index 67256f9e36b6925ce39530a2794562114887aa21..b7ad966de5884fa5d3680abd75f9a17887cbecf2 100644
|
| --- a/chrome/browser/component_updater/test/component_patcher_unittest.cc
|
| +++ b/chrome/browser/component_updater/test/component_patcher_unittest.cc
|
| @@ -19,12 +19,18 @@
|
| #include "courgette/third_party/bsdiff.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| +namespace component_updater {
|
| +
|
| +namespace {
|
| +
|
| base::FilePath test_file(const char* file) {
|
| base::FilePath path;
|
| PathService::Get(chrome::DIR_TEST_DATA, &path);
|
| return path.AppendASCII("components").AppendASCII(file);
|
| }
|
|
|
| +} // namespace
|
| +
|
| ComponentPatcherOperationTest::ComponentPatcherOperationTest() {
|
| EXPECT_TRUE(unpack_dir_.CreateUniqueTempDir());
|
| EXPECT_TRUE(input_dir_.CreateUniqueTempDir());
|
| @@ -179,3 +185,6 @@ TEST_F(ComponentPatcherOperationTest, CheckBsdiffOperation) {
|
| unpack_dir_.path().Append(FILE_PATH_LITERAL("output.bin")),
|
| test_file("binary_output.bin")));
|
| }
|
| +
|
| +} // namespace component_updater
|
| +
|
|
|