Home | History | Annotate | Download | only in update_manager

Lines Matching refs:BaseVariable

56 class BaseVariable {
64 virtual void ValueChanged(BaseVariable* variable) = 0;
67 virtual ~BaseVariable() {
95 virtual void AddObserver(BaseVariable::ObserverInterface* observer) {
102 virtual void RemoveObserver(BaseVariable::ObserverInterface* observer) {
107 // Creates a BaseVariable using the default polling interval (5 minutes).
108 BaseVariable(const std::string& name, VariableMode mode)
109 : BaseVariable(name, mode,
112 // Creates a BaseVariable with mode kVariableModePoll and the provided
114 BaseVariable(const std::string& name, base::TimeDelta poll_interval)
115 : BaseVariable(name, kVariableModePoll, poll_interval) {}
125 base::Bind(&BaseVariable::OnValueChangedNotification,
136 BaseVariable(const std::string& name, VariableMode mode,
147 std::list<BaseVariable::ObserverInterface*> observer_list_copy(
172 std::list<BaseVariable::ObserverInterface*> observer_list_;
174 DISALLOW_COPY_AND_ASSIGN(BaseVariable);
181 class Variable : public BaseVariable {
195 : BaseVariable(name, mode) {}
198 : BaseVariable(name, poll_interval) {}