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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SYSTEM_USER_USER_ACCOUNTS_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_USER_USER_ACCOUNTS_DELEGATE_H_
6 #define ASH_SYSTEM_USER_USER_ACCOUNTS_DELEGATE_H_ 6 #define ASH_SYSTEM_USER_USER_ACCOUNTS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // |account_id| that is not from list is no-op. 48 // |account_id| that is not from list is no-op.
49 virtual void DeleteAccount(const std::string& account_id) = 0; 49 virtual void DeleteAccount(const std::string& account_id) = 0;
50 50
51 // Launches a dialog which lets the user add a new account. 51 // Launches a dialog which lets the user add a new account.
52 virtual void LaunchAddAccountDialog() = 0; 52 virtual void LaunchAddAccountDialog() = 0;
53 53
54 protected: 54 protected:
55 void NotifyAccountListChanged(); 55 void NotifyAccountListChanged();
56 56
57 private: 57 private:
58 ObserverList<Observer> observers_; 58 base::ObserverList<Observer> observers_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(UserAccountsDelegate); 60 DISALLOW_COPY_AND_ASSIGN(UserAccountsDelegate);
61 }; 61 };
62 62
63 } // namespace tray 63 } // namespace tray
64 } // namespace ash 64 } // namespace ash
65 65
66 #endif // ASH_SYSTEM_USER_USER_ACCOUNTS_DELEGATE_H_ 66 #endif // ASH_SYSTEM_USER_USER_ACCOUNTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_notifier.h ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698