| OLD | NEW |
| 1 // Copyright 2014 The Chromium OS 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 VOLUME_READER_H_ | 5 #ifndef VOLUME_READER_H_ |
| 6 #define VOLUME_READER_H_ | 6 #define VOLUME_READER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 // Defines a reader for archive volumes. This class is used by minizip | 10 // Defines a reader for archive volumes. This class is used by minizip |
| 11 // for custom reads. | 11 // for custom reads. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 33 // Fetches a passphrase for reading. If the passphrase is not available it | 33 // Fetches a passphrase for reading. If the passphrase is not available it |
| 34 // returns nullptr. | 34 // returns nullptr. |
| 35 virtual const char* Passphrase() = 0; | 35 virtual const char* Passphrase() = 0; |
| 36 | 36 |
| 37 virtual int64_t offset() = 0; | 37 virtual int64_t offset() = 0; |
| 38 | 38 |
| 39 virtual int64_t archive_size() = 0; | 39 virtual int64_t archive_size() = 0; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 #endif // VOLUME_READER_H_ | 42 #endif // VOLUME_READER_H_ |
| OLD | NEW |