diff options
Diffstat (limited to 'payload_generator/annotated_operation.h')
-rw-r--r-- | payload_generator/annotated_operation.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/payload_generator/annotated_operation.h b/payload_generator/annotated_operation.h index bacc0ab1..2a88bef1 100644 --- a/payload_generator/annotated_operation.h +++ b/payload_generator/annotated_operation.h @@ -9,6 +9,8 @@ #include <string> #include <chromeos/secure_blob.h> + +#include "update_engine/payload_generator/blob_file_writer.h" #include "update_engine/update_metadata.pb.h" namespace chromeos_update_engine { @@ -24,8 +26,7 @@ struct AnnotatedOperation { // Writes |blob| to the end of |data_fd|, and updates |data_file_size| to // match the new size of |data_fd|. It sets the data_offset and data_length // in AnnotatedOperation to match the offset and size of |blob| in |data_fd|. - bool SetOperationBlob(chromeos::Blob* blob, int data_fd, - off_t* data_file_size); + bool SetOperationBlob(chromeos::Blob* blob, BlobFileWriter* blob_file); }; // For logging purposes. |