commit | 8a179e5e27b78e171dc56012b2bc810a00162a27 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Thu Oct 26 17:10:20 2017 +0200 |
committer | Alex Deymo <deymo@google.com> | Fri Oct 27 13:52:46 2017 +0200 |
tree | 396ada3598ef90a4e1545c1af7a7f0d14c21edb8 | |
parent | 30964e8324fae3289f1929af49db7ab6f7c8c01c [diff] |
Expose the PatchWriter generator in the public API. We want to expose the patch writers constructors in the public API without necesarily exposing the internal details. For that, we use a factory in the public API so callers can create the PatchWriters they need. We will extend this file with new patch formats. Bug: 34220646 Test: Used this interface from the bsdiff_main.cc (see follow up CL). Change-Id: I1f005f103886579eacf37b7d9767b713e066030c