1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "ash/system/user/user_accounts_delegate.h" 6 7namespace ash { 8namespace tray { 9 10UserAccountsDelegate::UserAccountsDelegate() {} 11 12UserAccountsDelegate::~UserAccountsDelegate() {} 13 14void UserAccountsDelegate::AddObserver(Observer* observer) { 15 observers_.AddObserver(observer); 16} 17 18void UserAccountsDelegate::RemoveObserver(Observer* observer) { 19 observers_.RemoveObserver(observer); 20} 21 22void UserAccountsDelegate::NotifyAccountListChanged() { 23 FOR_EACH_OBSERVER(Observer, observers_, AccountListChanged()); 24} 25 26} // namespace tray 27} // namespace ash 28