| 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_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" |
| 11 | 11 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 void set_error_message(const std::string& error_message) { | 96 void set_error_message(const std::string& error_message) { |
| 97 error_message_ = error_message; | 97 error_message_ = error_message; |
| 98 } | 98 } |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 VolumeReader* reader_; // The reader that actually reads the archive data. | 101 VolumeReader* reader_; // The reader that actually reads the archive data. |
| 102 std::string error_message_; // An error message set in case of any errors. | 102 std::string error_message_; // An error message set in case of any errors. |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 #endif // VOLUME_ARCHIVE_H_ | 105 #endif // VOLUME_ARCHIVE_H_ |
| OLD | NEW |