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_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ | 5 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ |
6 #define COMPONENTS_COMPONENT_UPDATER_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/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "components/component_updater/component_unpacker.h" | 15 #include "components/update_client/component_unpacker.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class DictionaryValue; | 18 class DictionaryValue; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace component_updater { | 21 namespace update_client { |
22 | 22 |
23 extern const char kOp[]; | 23 extern const char kOp[]; |
24 extern const char kBsdiff[]; | 24 extern const char kBsdiff[]; |
25 extern const char kCourgette[]; | 25 extern const char kCourgette[]; |
26 extern const char kInput[]; | 26 extern const char kInput[]; |
27 extern const char kPatch[]; | 27 extern const char kPatch[]; |
28 | 28 |
29 class ComponentInstaller; | 29 class ComponentInstaller; |
30 | 30 |
31 class DeltaUpdateOp : public base::RefCountedThreadSafe<DeltaUpdateOp> { | 31 class DeltaUpdateOp : public base::RefCountedThreadSafe<DeltaUpdateOp> { |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 base::FilePath patch_abs_path_; | 172 base::FilePath patch_abs_path_; |
173 base::FilePath input_abs_path_; | 173 base::FilePath input_abs_path_; |
174 | 174 |
175 DISALLOW_COPY_AND_ASSIGN(DeltaUpdateOpPatch); | 175 DISALLOW_COPY_AND_ASSIGN(DeltaUpdateOpPatch); |
176 }; | 176 }; |
177 | 177 |
178 DeltaUpdateOp* CreateDeltaUpdateOp( | 178 DeltaUpdateOp* CreateDeltaUpdateOp( |
179 const std::string& operation, | 179 const std::string& operation, |
180 scoped_refptr<OutOfProcessPatcher> out_of_process_patcher); | 180 scoped_refptr<OutOfProcessPatcher> out_of_process_patcher); |
181 | 181 |
182 } // namespace component_updater | 182 } // namespace update_client |
183 | 183 |
184 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ | 184 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_OPERATION_H_ |
OLD | NEW |