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

Unified Diff: chrome/browser/ui/webui/signin/login_ui_service.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 | « chrome/browser/ui/webui/media_router/query_result_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/login_ui_service.cc
diff --git a/chrome/browser/ui/webui/signin/login_ui_service.cc b/chrome/browser/ui/webui/signin/login_ui_service.cc
index a413f6d839fc6c5af5baf0793cae154cab3af055..8fe5bf989ff93035c6a9e8ea74e075a56ab17419 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service.cc
+++ b/chrome/browser/ui/webui/signin/login_ui_service.cc
@@ -48,10 +48,8 @@ void LoginUIService::LoginUIClosed(LoginUI* ui) {
void LoginUIService::SyncConfirmationUIClosed(
SyncConfirmationUIClosedResult result) {
- FOR_EACH_OBSERVER(
- Observer,
- observer_list_,
- OnSyncConfirmationUIClosed(result));
+ for (Observer& observer : observer_list_)
+ observer.OnSyncConfirmationUIClosed(result);
}
void LoginUIService::ShowLoginPopup() {
« no previous file with comments | « chrome/browser/ui/webui/media_router/query_result_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698