Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fa70e00 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "fastboot driver: add virtual dtor to ImageSource." am: 4f898d4e am:...

Merge "fastboot driver: add virtual dtor to ImageSource." am: 4f898d4e am: a40d51ad am: 01165862 am: 8d486d1d

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1645934

Change-Id: I79615b6009e6177fdd277c1d42f97cc030a8fe0e
parents ac6959e7 8d486d1d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1391,6 +1391,7 @@ static void CancelSnapshotIfNeeded() {

class ImageSource {
  public:
    virtual ~ImageSource() {};
    virtual bool ReadFile(const std::string& name, std::vector<char>* out) const = 0;
    virtual unique_fd OpenFile(const std::string& name) const = 0;
};