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 <email@example.com>
Tested-by: Amin Hassani <firstname.lastname@example.org>
Reviewed-by: Ben Chan <email@example.com>
20 files changed