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_INSTALLER_SETUP_ARCHIVE_PATCH_HELPER_H_ | 5 #ifndef CHROME_INSTALLER_SETUP_ARCHIVE_PATCH_HELPER_H_ |
6 #define CHROME_INSTALLER_SETUP_ARCHIVE_PATCH_HELPER_H_ | 6 #define CHROME_INSTALLER_SETUP_ARCHIVE_PATCH_HELPER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/macros.h" |
10 | 10 |
11 namespace installer { | 11 namespace installer { |
12 | 12 |
13 // A helper class that facilitates uncompressing and patching the chrome archive | 13 // A helper class that facilitates uncompressing and patching the chrome archive |
14 // and installer. | 14 // and installer. |
15 // | 15 // |
16 // Chrome's installer is deployed along with a compressed archive containing | 16 // Chrome's installer is deployed along with a compressed archive containing |
17 // either 1) an uncompressd archive of the product binaries or 2) a patch file | 17 // either 1) an uncompressd archive of the product binaries or 2) a patch file |
18 // to be applied to the uncompressed archive of the version being updated. To | 18 // to be applied to the uncompressed archive of the version being updated. To |
19 // obtain the uncompressed archive, the contents of the compressed archive are | 19 // obtain the uncompressed archive, the contents of the compressed archive are |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 base::FilePath patch_source_; | 88 base::FilePath patch_source_; |
89 base::FilePath target_; | 89 base::FilePath target_; |
90 base::FilePath last_uncompressed_file_; | 90 base::FilePath last_uncompressed_file_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(ArchivePatchHelper); | 92 DISALLOW_COPY_AND_ASSIGN(ArchivePatchHelper); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace installer | 95 } // namespace installer |
96 | 96 |
97 #endif // CHROME_INSTALLER_SETUP_ARCHIVE_PATCH_HELPER_H_ | 97 #endif // CHROME_INSTALLER_SETUP_ARCHIVE_PATCH_HELPER_H_ |
OLD | NEW |