summaryrefslogtreecommitdiffstats
path: root/otautil/include/otautil/paths.h
diff options
context:
space:
mode:
Diffstat (limited to 'otautil/include/otautil/paths.h')
-rw-r--r--otautil/include/otautil/paths.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/otautil/include/otautil/paths.h b/otautil/include/otautil/paths.h
index 39088f100..f95741a24 100644
--- a/otautil/include/otautil/paths.h
+++ b/otautil/include/otautil/paths.h
@@ -76,6 +76,13 @@ class Paths {
temporary_log_file_ = log_file;
}
+ std::string temporary_update_binary() const {
+ return temporary_update_binary_;
+ }
+ void set_temporary_update_binary(const std::string& update_binary) {
+ temporary_update_binary_ = update_binary;
+ }
+
private:
Paths();
DISALLOW_COPY_AND_ASSIGN(Paths);
@@ -103,6 +110,9 @@ class Paths {
// Path to the temporary log file while under recovery.
std::string temporary_log_file_;
+
+ // Path to the temporary update binary while installing a non-A/B package.
+ std::string temporary_update_binary_;
};
#endif // _OTAUTIL_PATHS_H_