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 COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_UNITTEST_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_UNITTEST_H_ |
6 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_UNITTEST_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_UNITTEST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/sequenced_task_runner.h" |
13 #include "courgette/courgette.h" | 14 #include "courgette/courgette.h" |
14 #include "courgette/third_party/bsdiff/bsdiff.h" | 15 #include "courgette/third_party/bsdiff/bsdiff.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 | 17 |
17 namespace update_client { | 18 namespace update_client { |
18 | 19 |
19 class ReadOnlyTestInstaller; | 20 class ReadOnlyTestInstaller; |
20 | 21 |
21 const char binary_output_hash[] = | 22 const char binary_output_hash[] = |
22 "599aba6d15a7da390621ef1bacb66601ed6aed04dadc1f9b445dcfe31296142a"; | 23 "599aba6d15a7da390621ef1bacb66601ed6aed04dadc1f9b445dcfe31296142a"; |
(...skipping 10 matching lines...) Expand all Loading... |
33 scoped_refptr<ReadOnlyTestInstaller> installer_; | 34 scoped_refptr<ReadOnlyTestInstaller> installer_; |
34 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 35 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
35 | 36 |
36 private: | 37 private: |
37 base::MessageLoopForIO loop_; | 38 base::MessageLoopForIO loop_; |
38 }; | 39 }; |
39 | 40 |
40 } // namespace update_client | 41 } // namespace update_client |
41 | 42 |
42 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_UNITTEST_H_ | 43 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_UNITTEST_H_ |
OLD | NEW |