Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: ash/system/user/user_accounts_delegate.cc

Issue 210903003: Implemented system tray UI for new account management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More comments addressed. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698