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

Unified Diff: chrome/browser/sync/engine/syncer_command.cc

Issue 2075012: Replace changes_channel with an observer list. (Closed)
Patch Set: Ready for checkin Created 10 years, 6 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/sync/engine/syncer.cc ('k') | chrome/browser/sync/engine/syncer_end_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer_command.cc
diff --git a/chrome/browser/sync/engine/syncer_command.cc b/chrome/browser/sync/engine/syncer_command.cc
index 2c58795096d843c0b1fc0ee429169a64ea96c840..f95cf40113a49818e45131a98729e58bfe48f0f9 100644
--- a/chrome/browser/sync/engine/syncer_command.cc
+++ b/chrome/browser/sync/engine/syncer_command.cc
@@ -34,11 +34,11 @@ void SyncerCommand::SendNotifications(SyncSession* session) {
const sessions::SyncSessionSnapshot& snapshot(session->TakeSnapshot());
event.snapshot = &snapshot;
DCHECK(session->context()->syncer_event_channel());
- session->context()->syncer_event_channel()->NotifyListeners(event);
+ session->context()->syncer_event_channel()->Notify(event);
if (session->status_controller()->syncer_status().over_quota) {
SyncerEvent quota_event(SyncerEvent::OVER_QUOTA);
quota_event.snapshot = &snapshot;
- session->context()->syncer_event_channel()->NotifyListeners(quota_event);
+ session->context()->syncer_event_channel()->Notify(quota_event);
}
}
}
« no previous file with comments | « chrome/browser/sync/engine/syncer.cc ('k') | chrome/browser/sync/engine/syncer_end_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698