#include "chromeos/ash/components/phonehub/do_not_disturb_controller.h"
namespace ash::phonehub {
DoNotDisturbController::DoNotDisturbController() = default;
DoNotDisturbController::~DoNotDisturbController() = default;
void DoNotDisturbController::AddObserver(Observer* observer) {
observer_list_.AddObserver(observer);
}
void DoNotDisturbController::RemoveObserver(Observer* observer) {
observer_list_.RemoveObserver(observer);
}
void DoNotDisturbController::NotifyDndStateChanged() {
for (auto& observer : observer_list_)
observer.OnDndStateChanged();
}
}