summaryrefslogtreecommitdiff
path: root/payload_state_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'payload_state_interface.h')
-rw-r--r--payload_state_interface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/payload_state_interface.h b/payload_state_interface.h
index 36b8130c..c706e984 100644
--- a/payload_state_interface.h
+++ b/payload_state_interface.h
@@ -163,6 +163,12 @@ class PayloadStateInterface {
// Gets the value previously set with SetUsingP2PForDownloading().
virtual bool GetUsingP2PForDownloading() = 0;
+
+ // Returns the current (persisted) scattering wallclock-based wait period.
+ virtual base::TimeDelta GetScatteringWaitPeriod() = 0;
+
+ // Sets and persists the scattering wallclock-based wait period.
+ virtual void SetScatteringWaitPeriod(base::TimeDelta wait_period) = 0;
};
} // namespace chromeos_update_engine