update_engine: Replace vector<Extent> with RepeatedPtrField<Extent>
This patch removes references to vector<Extent> and replaces them with
RepeatedPtrField in payload_consumer. Extent itself is a protobuf item
and it makes sense to use google::protobuf::RepeatedPtrField instead of
vector because then we won't have any extra copy to vector. We can
directly use the list of extents given in the payload protobuf.
Also removed references to vector in files which did not use vector.
TEST=FEATURES="test" emerge-amd64-generic update_engine
Commit-Ready: Amin Hassani <firstname.lastname@example.org>
Tested-by: Amin Hassani <email@example.com>
Reviewed-by: Ben Chan <firstname.lastname@example.org>
20 files changed