summaryrefslogtreecommitdiff
path: root/payload_generator/filesystem_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'payload_generator/filesystem_interface.h')
-rw-r--r--payload_generator/filesystem_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/payload_generator/filesystem_interface.h b/payload_generator/filesystem_interface.h
index 501a6be9..186eac43 100644
--- a/payload_generator/filesystem_interface.h
+++ b/payload_generator/filesystem_interface.h
@@ -20,6 +20,7 @@
#include <vector>
#include <base/macros.h>
+#include <chromeos/key_value_store.h>
#include "update_engine/update_metadata.pb.h"
@@ -66,6 +67,10 @@ class FilesystemInterface {
// Returns whether the function succeeded.
virtual bool GetFiles(std::vector<File>* files) const = 0;
+ // Load the image settings stored in the filesystem in the
+ // /etc/update_engine.conf file. Returns whether the settings were found.
+ virtual bool LoadSettings(chromeos::KeyValueStore* store) const = 0;
+
protected:
FilesystemInterface() = default;