diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-17 21:14:48 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-17 21:14:48 +0000 |
commit | 8318974fb120507e6fa8d2dda7b9c7b42c61206b (patch) | |
tree | 0cfda7047d28ac11538358d6b6b554567d5c853a /chrome/test/sync | |
parent | 6a25d8e22b5c3189200c2da51f0b47760b8e9132 (diff) | |
download | chromium_src-8318974fb120507e6fa8d2dda7b9c7b42c61206b.zip chromium_src-8318974fb120507e6fa8d2dda7b9c7b42c61206b.tar.gz chromium_src-8318974fb120507e6fa8d2dda7b9c7b42c61206b.tar.bz2 |
sync: remove event_sys from ServerConnectionManager and SyncerThread
BUG=26339
TEST=sync_unit_tests
Review URL: http://codereview.chromium.org/5125001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/sync')
-rw-r--r-- | chrome/test/sync/engine/mock_connection_manager.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/test/sync/engine/mock_connection_manager.cc b/chrome/test/sync/engine/mock_connection_manager.cc index ade90a6..5e4a2cb 100644 --- a/chrome/test/sync/engine/mock_connection_manager.cc +++ b/chrome/test/sync/engine/mock_connection_manager.cc @@ -541,7 +541,8 @@ void MockConnectionManager::SetServerReachable() { browser_sync::ServerConnectionEvent::STATUS_CHANGED, server_status_, server_reachable_ }; - channel_->NotifyListeners(event); + FOR_EACH_OBSERVER(browser_sync::ServerConnectionEventListener, listeners_, + OnServerConnectionEvent(event)); } void MockConnectionManager::SetServerNotReachable() { @@ -551,5 +552,6 @@ void MockConnectionManager::SetServerNotReachable() { browser_sync::ServerConnectionEvent::STATUS_CHANGED, server_status_, server_reachable_ }; - channel_->NotifyListeners(event); + FOR_EACH_OBSERVER(browser_sync::ServerConnectionEventListener, listeners_, + OnServerConnectionEvent(event)); } |