OLD | NEW |
1 // Copyright 2014 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2014 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 VOLUME_ARCHIVE_H_ | 5 #ifndef VOLUME_ARCHIVE_H_ |
6 #define VOLUME_ARCHIVE_H_ | 6 #define VOLUME_ARCHIVE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "volume_reader.h" | 10 #include "volume_reader.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 void set_error_message(const std::string& error_message) { | 92 void set_error_message(const std::string& error_message) { |
93 error_message_ = error_message; | 93 error_message_ = error_message; |
94 } | 94 } |
95 | 95 |
96 private: | 96 private: |
97 VolumeReader* reader_; // The reader that actually reads the archive data. | 97 VolumeReader* reader_; // The reader that actually reads the archive data. |
98 std::string error_message_; // An error message set in case of any errors. | 98 std::string error_message_; // An error message set in case of any errors. |
99 }; | 99 }; |
100 | 100 |
101 #endif // VOLUME_ARCHIVE_H_ | 101 #endif // VOLUME_ARCHIVE_H_ |
OLD | NEW |