OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_OPERATION_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ |
6 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ | 6 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/sequenced_task_runner.h" |
14 #include "components/update_client/component_patcher.h" | 15 #include "components/update_client/component_patcher.h" |
15 #include "components/update_client/component_unpacker.h" | 16 #include "components/update_client/component_unpacker.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class DictionaryValue; | 19 class DictionaryValue; |
19 } // namespace base | 20 } // namespace base |
20 | 21 |
21 namespace update_client { | 22 namespace update_client { |
22 | 23 |
23 extern const char kOp[]; | 24 extern const char kOp[]; |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 DISALLOW_COPY_AND_ASSIGN(DeltaUpdateOpPatch); | 162 DISALLOW_COPY_AND_ASSIGN(DeltaUpdateOpPatch); |
162 }; | 163 }; |
163 | 164 |
164 DeltaUpdateOp* CreateDeltaUpdateOp( | 165 DeltaUpdateOp* CreateDeltaUpdateOp( |
165 const std::string& operation, | 166 const std::string& operation, |
166 const scoped_refptr<OutOfProcessPatcher>& out_of_process_patcher); | 167 const scoped_refptr<OutOfProcessPatcher>& out_of_process_patcher); |
167 | 168 |
168 } // namespace update_client | 169 } // namespace update_client |
169 | 170 |
170 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ | 171 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ |
OLD | NEW |