diff options
author | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 06:26:30 +0000 |
---|---|---|
committer | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-08 06:26:30 +0000 |
commit | 12a11e2b86333af3bf71dbcf5b61e48f3d43a5bc (patch) | |
tree | d9028c587a13cd7a9a25f16b8cded80d6647c0cf /sync/internal_api/js_sync_manager_observer.cc | |
parent | d98c0240810b6164cc46eb62ff670912a4ac28ba (diff) | |
download | chromium_src-12a11e2b86333af3bf71dbcf5b61e48f3d43a5bc.zip chromium_src-12a11e2b86333af3bf71dbcf5b61e48f3d43a5bc.tar.gz chromium_src-12a11e2b86333af3bf71dbcf5b61e48f3d43a5bc.tar.bz2 |
[Sync] Introduce DataTypeDebugListener and add plumbing to the DataTypeManager
The DataTypeDebugListener is an interface that allows glue components to pass
sync debug info to the sync debug event listener, which lives in the sync
internals on the sync thread. To do this we pass a WeakHandle at initialization
time all the way through to the PSS, which then uses it to create the
DataTypeManager.
Follow up patches will plumb DTC results to the DataTypeDebugListener.
BUG=158576
Review URL: https://chromiumcodereview.appspot.com/11365116
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/js_sync_manager_observer.cc')
-rw-r--r-- | sync/internal_api/js_sync_manager_observer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc index d60d5e0..96c78c9 100644 --- a/sync/internal_api/js_sync_manager_observer.cc +++ b/sync/internal_api/js_sync_manager_observer.cc @@ -71,6 +71,7 @@ void JsSyncManagerObserver::OnActionableError( void JsSyncManagerObserver::OnInitializationComplete( const WeakHandle<JsBackend>& js_backend, + const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener, bool success, syncer::ModelTypeSet restored_types) { if (!event_handler_.IsInitialized()) { return; |