OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "chrome/installer/util/lzma_util.h" | 5 #include "chrome/installer/util/lzma_util.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/logging.h" | |
9 #include "base/string_util.h" | 8 #include "base/string_util.h" |
10 | 9 |
11 extern "C" { | 10 extern "C" { |
12 #include "third_party/lzma_sdk/Archive/7z/7zExtract.h" | 11 #include "third_party/lzma_sdk/Archive/7z/7zExtract.h" |
13 #include "third_party/lzma_sdk/Archive/7z/7zIn.h" | 12 #include "third_party/lzma_sdk/Archive/7z/7zIn.h" |
14 #include "third_party/lzma_sdk/7zCrc.h" | 13 #include "third_party/lzma_sdk/7zCrc.h" |
15 } | 14 } |
16 | 15 |
17 | 16 |
18 namespace installer { | 17 namespace installer { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 SzArDbExFree(&db, allocImp.Free); | 175 SzArDbExFree(&db, allocImp.Free); |
177 return ret; | 176 return ret; |
178 } | 177 } |
179 | 178 |
180 void LzmaUtil::CloseArchive() { | 179 void LzmaUtil::CloseArchive() { |
181 CloseHandle(archive_handle_); | 180 CloseHandle(archive_handle_); |
182 archive_handle_ = NULL; | 181 archive_handle_ = NULL; |
183 } | 182 } |
184 | 183 |
185 } // namespace installer | 184 } // namespace installer |
OLD | NEW |