From eb370fc0fba62ea44db5c35514fb3223523928cc Mon Sep 17 00:00:00 2001 From: "rlarocque@chromium.org" Date: Fri, 21 Mar 2014 22:14:35 +0000 Subject: sync: Expose ProtocolEvents on ProfileSyncService Adds code to the sync engine to have it generate protocol events when it contacts the server. These events are then sent through the SyncSession, SyncManager, SyncBackendHostCore, SyncBackendHost, and finally to the ProfileSyncService. Objects on the UI thread can register with the ProfileSyncService as observers of these events, though this CL does not introduce any of these listeners. BUG=349301 Review URL: https://codereview.chromium.org/203463005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258685 0039d316-1c4b-4281-b951-d872f2087c98 --- sync/internal_api/sync_manager_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sync/internal_api/sync_manager_impl.h') diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h index e2b3fb4..7189026 100644 --- a/sync/internal_api/sync_manager_impl.h +++ b/sync/internal_api/sync_manager_impl.h @@ -142,6 +142,7 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl : virtual void OnRetryTimeChanged(base::Time retry_time) OVERRIDE; virtual void OnThrottledTypesChanged(ModelTypeSet throttled_types) OVERRIDE; virtual void OnMigrationRequested(ModelTypeSet types) OVERRIDE; + virtual void OnProtocolEvent(const ProtocolEvent& event) OVERRIDE; // ServerConnectionEventListener implementation. virtual void OnServerConnectionEvent( -- cgit v1.1