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_COMPONENT_PATCHER_OPERATION_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "chrome/browser/component_updater/component_unpacker.h" | 11 #include "chrome/browser/component_updater/component_unpacker.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 | |
15 class FilePath; | 14 class FilePath; |
16 class DictionaryValue; | 15 class DictionaryValue; |
| 16 } // namespace base |
17 | 17 |
18 } // namespace base | 18 namespace component_updater { |
19 | 19 |
20 class ComponentInstaller; | 20 class ComponentInstaller; |
21 class ComponentPatcher; | 21 class ComponentPatcher; |
22 | 22 |
23 class DeltaUpdateOp { | 23 class DeltaUpdateOp { |
24 public: | 24 public: |
25 | 25 |
26 DeltaUpdateOp(); | 26 DeltaUpdateOp(); |
27 virtual ~DeltaUpdateOp(); | 27 virtual ~DeltaUpdateOp(); |
28 | 28 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 base::FilePath patch_abs_path_; | 149 base::FilePath patch_abs_path_; |
150 base::FilePath input_abs_path_; | 150 base::FilePath input_abs_path_; |
151 | 151 |
152 DISALLOW_COPY_AND_ASSIGN(DeltaUpdateOpPatchCourgette); | 152 DISALLOW_COPY_AND_ASSIGN(DeltaUpdateOpPatchCourgette); |
153 }; | 153 }; |
154 | 154 |
155 // Factory function to create DeltaUpdateOp instances. | 155 // Factory function to create DeltaUpdateOp instances. |
156 DeltaUpdateOp* CreateDeltaUpdateOp(base::DictionaryValue* command); | 156 DeltaUpdateOp* CreateDeltaUpdateOp(base::DictionaryValue* command); |
157 | 157 |
| 158 } // namespace component_updater |
| 159 |
158 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ | 160 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_PATCHER_OPERATION_H_ |
OLD | NEW |