Home | History | Annotate | Download | only in user
      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 
      7 namespace ash {
      8 namespace tray {
      9 
     10 UserAccountsDelegate::UserAccountsDelegate() {}
     11 
     12 UserAccountsDelegate::~UserAccountsDelegate() {}
     13 
     14 void UserAccountsDelegate::AddObserver(Observer* observer) {
     15   observers_.AddObserver(observer);
     16 }
     17 
     18 void UserAccountsDelegate::RemoveObserver(Observer* observer) {
     19   observers_.RemoveObserver(observer);
     20 }
     21 
     22 void UserAccountsDelegate::NotifyAccountListChanged() {
     23   FOR_EACH_OBSERVER(Observer, observers_, AccountListChanged());
     24 }
     25 
     26 }  // namespace tray
     27 }  // namespace ash
     28