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

Unified Diff: chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc

Issue 2435533004: Reduce usage of FOR_EACH_OBSERVER macro in chrome/browser/signin (Closed)
Patch Set: braces 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/status_icons/status_icon_menu_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
diff --git a/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc b/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
index 7e1c17bc0a0300032c68759270b9864691910f63..b153b173e879be8eb0a510d442f0f6b21312c2a3 100644
--- a/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
+++ b/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
@@ -187,8 +187,8 @@ class TestSyncProcessorStub : public syncer::SyncChangeProcessor {
void NotifyLocalChangeObservers() {
const syncer::SyncChange empty_change;
- FOR_EACH_OBSERVER(syncer::LocalChangeObserver, local_change_observers_,
- OnLocalChange(NULL, empty_change));
+ for (syncer::LocalChangeObserver& observer : local_change_observers_)
+ observer.OnLocalChange(NULL, empty_change);
}
void FailProcessSyncChangesWith(const syncer::SyncError& error) {
« no previous file with comments | « chrome/browser/status_icons/status_icon_menu_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698