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

Unified Diff: chrome/browser/ui/ash/app_sync_ui_state.cc

Issue 2424853003: Remove FOR_EACH_OBSERVER macro usage in chrome/browser/ui (Closed)
Patch Set: explicit types Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/ash/cast_config_delegate_media_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/app_sync_ui_state.cc
diff --git a/chrome/browser/ui/ash/app_sync_ui_state.cc b/chrome/browser/ui/ash/app_sync_ui_state.cc
index 0cbb02292a4aa86b6488c49ec9d3fc9cc82e70f8..b712fc2f1318dd3ff084baa545342f965257f885 100644
--- a/chrome/browser/ui/ash/app_sync_ui_state.cc
+++ b/chrome/browser/ui/ash/app_sync_ui_state.cc
@@ -109,9 +109,8 @@ void AppSyncUIState::SetStatus(Status status) {
break;
}
- FOR_EACH_OBSERVER(AppSyncUIStateObserver,
- observers_,
- OnAppSyncUIStatusChanged());
+ for (AppSyncUIStateObserver& observer : observers_)
+ observer.OnAppSyncUIStatusChanged();
}
void AppSyncUIState::CheckAppSync() {
« no previous file with comments | « no previous file | chrome/browser/ui/ash/cast_config_delegate_media_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698