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 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/common/chrome_paths.h" | |
12 #include "content/public/test/test_browser_thread_bundle.h" | 11 #include "content/public/test/test_browser_thread_bundle.h" |
Sorin Jianu
2014/08/22 17:19:58
Is it ok to have this content dependency here and
tommycli
2014/08/22 17:31:45
Yes, I think the tests can use content/. The tests
Sorin Jianu
2014/08/22 17:35:44
Separate CL sg.
| |
13 #include "courgette/courgette.h" | 12 #include "courgette/courgette.h" |
14 #include "courgette/third_party/bsdiff.h" | 13 #include "courgette/third_party/bsdiff.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
16 | 15 |
17 namespace component_updater { | 16 namespace component_updater { |
18 | 17 |
19 class MockComponentPatcher; | 18 class MockComponentPatcher; |
20 class ReadOnlyTestInstaller; | 19 class ReadOnlyTestInstaller; |
21 | 20 |
22 const char binary_output_hash[] = | 21 const char binary_output_hash[] = |
(...skipping 11 matching lines...) Expand all Loading... | |
34 scoped_ptr<ReadOnlyTestInstaller> installer_; | 33 scoped_ptr<ReadOnlyTestInstaller> installer_; |
35 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 34 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
36 | 35 |
37 private: | 36 private: |
38 content::TestBrowserThreadBundle thread_bundle_; | 37 content::TestBrowserThreadBundle thread_bundle_; |
39 }; | 38 }; |
40 | 39 |
41 } // namespace component_updater | 40 } // namespace component_updater |
42 | 41 |
43 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_ | 42 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_UNITTEST_H_ |
OLD | NEW |