Added unit test for DevTools' ephemeral port support.
[chromium-blink-merge.git] / ash / system / user / user_accounts_delegate.cc
blob2e29a9bb33440d55ea5c1a71e2e11dcb314615be
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.
5 #include "ash/system/user/user_accounts_delegate.h"
7 namespace ash {
8 namespace tray {
10 UserAccountsDelegate::UserAccountsDelegate() {}
12 UserAccountsDelegate::~UserAccountsDelegate() {}
14 void UserAccountsDelegate::AddObserver(Observer* observer) {
15 observers_.AddObserver(observer);
18 void UserAccountsDelegate::RemoveObserver(Observer* observer) {
19 observers_.RemoveObserver(observer);
22 void UserAccountsDelegate::NotifyAccountListChanged() {
23 FOR_EACH_OBSERVER(Observer, observers_, AccountListChanged());
26 } // namespace tray
27 } // namespace ash