| Index: chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
|
| diff --git a/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc b/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
|
| index b17d4dc2bcc6d2d50d647bd51ccc19e6bab52676..576787d1110ae9d4934cacbead7642cbb521a566 100644
|
| --- a/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
|
| +++ b/chrome/browser/supervised_user/legacy/supervised_user_sync_service.cc
|
| @@ -560,19 +560,18 @@ void SupervisedUserSyncService::GoogleSignedOut(
|
|
|
| void SupervisedUserSyncService::NotifySupervisedUserAcknowledged(
|
| const std::string& supervised_user_id) {
|
| - FOR_EACH_OBSERVER(SupervisedUserSyncServiceObserver, observers_,
|
| - OnSupervisedUserAcknowledged(supervised_user_id));
|
| + for (SupervisedUserSyncServiceObserver& observer : observers_)
|
| + observer.OnSupervisedUserAcknowledged(supervised_user_id);
|
| }
|
|
|
| void SupervisedUserSyncService::NotifySupervisedUsersSyncingStopped() {
|
| - FOR_EACH_OBSERVER(SupervisedUserSyncServiceObserver, observers_,
|
| - OnSupervisedUsersSyncingStopped());
|
| + for (SupervisedUserSyncServiceObserver& observer : observers_)
|
| + observer.OnSupervisedUsersSyncingStopped();
|
| }
|
|
|
| void SupervisedUserSyncService::NotifySupervisedUsersChanged() {
|
| - FOR_EACH_OBSERVER(SupervisedUserSyncServiceObserver,
|
| - observers_,
|
| - OnSupervisedUsersChanged());
|
| + for (SupervisedUserSyncServiceObserver& observer : observers_)
|
| + observer.OnSupervisedUsersChanged();
|
| }
|
|
|
| void SupervisedUserSyncService::DispatchCallbacks() {
|
|
|