Added support for Wipe Task
Test: tested wipe on Raven
Bug: 194686221
Change-Id: I582800a279cbe8a3e733a1e75447e5b5142d4120
diff --git a/fastboot/task.h b/fastboot/task.h
index 0af771e..149c34c 100644
--- a/fastboot/task.h
+++ b/fastboot/task.h
@@ -100,3 +100,13 @@
const FlashingPlan* fp_;
const std::string pname_;
};
+
+class WipeTask : public Task {
+ public:
+ WipeTask(FlashingPlan* fp, const std::string& pname);
+ void Run() override;
+
+ private:
+ const FlashingPlan* fp_;
+ const std::string pname_;
+};