OLD | NEW |
1 // Copyright 2017 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2017 The Chromium OS 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 COMPRESSSOR_ARCHIVE_H_ | 5 #ifndef COMPRESSSOR_ARCHIVE_H_ |
6 #define COMPRESSSOR_ARCHIVE_H_ | 6 #define COMPRESSSOR_ARCHIVE_H_ |
7 | 7 |
8 #include "compressor_io_javascript_stream.h" | 8 #include "compressor_io_javascript_stream.h" |
9 | 9 |
10 // Defines a wrapper for packing operations executed on an archive. API is not | 10 // Defines a wrapper for packing operations executed on an archive. API is not |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 private: | 46 private: |
47 // The libarchive correspondent archive object. | 47 // The libarchive correspondent archive object. |
48 struct archive* archive_; | 48 struct archive* archive_; |
49 | 49 |
50 // An instance that takes care of all IO operations. | 50 // An instance that takes care of all IO operations. |
51 CompressorStream* compressor_stream_; | 51 CompressorStream* compressor_stream_; |
52 }; | 52 }; |
53 | 53 |
54 #endif // COMPRESSSOR_ARCHIVE_H_ | 54 #endif // COMPRESSSOR_ARCHIVE_H_ |
OLD | NEW |