Home | History | Annotate | Download | only in update_manager

Lines Matching refs:Variable

17 #include "update_engine/update_manager/variable.h"
34 // Variable class that returns a value constructed with the default value.
36 class DefaultVariable : public Variable<T> {
39 : Variable<T>(name, mode) {}
41 : Variable<T>(name, poll_interval) {}
90 void ValueChanged(BaseVariable* variable) {
91 calls_.push_back(variable);
115 // Simulate a value change on the variable's implementation.
141 void ValueChanged(BaseVariable* variable) override {
143 variable->RemoveObserver(observer);
159 // Tests that we can remove an observer from a Variable on the ValueChanged()