diff options
Diffstat (limited to 'system_state.cc')
-rw-r--r-- | system_state.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system_state.cc b/system_state.cc index fc3ba57b..42737bbb 100644 --- a/system_state.cc +++ b/system_state.cc @@ -4,7 +4,7 @@ #include <base/file_util.h> -#include "update_engine/system_state.h" +#include "update_engine/real_system_state.h" namespace chromeos_update_engine { @@ -42,6 +42,9 @@ bool RealSystemState::Initialize(bool enable_gpio) { gpio_handler_.reset(new NoopGpioHandler(false)); } + // Create the update attempter. + update_attempter_.reset(new UpdateAttempter(this, &dbus_)); + // All is well. Initialization successful. return true; } |