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

Unified Diff: chrome/browser/ui/settings_window_manager.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/search/search_model.cc ('k') | chrome/browser/ui/toolbar/toolbar_actions_bar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/settings_window_manager.cc
diff --git a/chrome/browser/ui/settings_window_manager.cc b/chrome/browser/ui/settings_window_manager.cc
index 0567638d8c81ef0b1f30cdb3c10e44ebda089186..d84d7280f7c6895bba89e8754eea9c1abf581f85 100644
--- a/chrome/browser/ui/settings_window_manager.cc
+++ b/chrome/browser/ui/settings_window_manager.cc
@@ -69,8 +69,8 @@ void SettingsWindowManager::ShowChromePageForProfile(Profile* profile,
settings_session_map_[profile] = params.browser->session_id().id();
DCHECK(params.browser->is_trusted_source());
- FOR_EACH_OBSERVER(SettingsWindowManagerObserver,
- observers_, OnNewSettingsWindow(params.browser));
+ for (SettingsWindowManagerObserver& observer : observers_)
+ observer.OnNewSettingsWindow(params.browser);
}
Browser* SettingsWindowManager::FindBrowserForProfile(Profile* profile) {
« no previous file with comments | « chrome/browser/ui/search/search_model.cc ('k') | chrome/browser/ui/toolbar/toolbar_actions_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698