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

Unified Diff: components/signin/core/browser/signin_error_controller.cc

Issue 2422943002: Remove usage of FOR_EACH_OBSERVER macro in components/signin (Closed)
Patch Set: 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
Index: components/signin/core/browser/signin_error_controller.cc
diff --git a/components/signin/core/browser/signin_error_controller.cc b/components/signin/core/browser/signin_error_controller.cc
index 1fa6e9f9112453b4fc0f73fa50392862f1642d5b..6dbaf23b1517ebe518dd4dad49e954e64fa76b6d 100644
--- a/components/signin/core/browser/signin_error_controller.cc
+++ b/components/signin/core/browser/signin_error_controller.cc
@@ -91,7 +91,8 @@ void SigninErrorController::AuthStatusChanged() {
if (error_changed) {
signin_metrics::LogAuthError(auth_error_.state());
- FOR_EACH_OBSERVER(Observer, observer_list_, OnErrorChanged());
+ for (auto& observer : observer_list_)
+ observer.OnErrorChanged();
}
}
« no previous file with comments | « components/signin/core/browser/gaia_cookie_manager_service.cc ('k') | components/signin/core/browser/signin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698