| Index: sync/internal_api/js_sync_manager_observer.cc
|
| diff --git a/sync/internal_api/js_sync_manager_observer.cc b/sync/internal_api/js_sync_manager_observer.cc
|
| index 4e98fd901a8e820fb9b4c8a7848d576779060235..d8ee28949b34778935ebb7680f7860fc97c89d5c 100644
|
| --- a/sync/internal_api/js_sync_manager_observer.cc
|
| +++ b/sync/internal_api/js_sync_manager_observer.cc
|
| @@ -127,13 +127,17 @@ void JsSyncManagerObserver::OnActionableError(
|
|
|
| void JsSyncManagerObserver::OnInitializationComplete(
|
| const WeakHandle<JsBackend>& js_backend,
|
| - bool success) {
|
| + bool success, syncer::ModelTypeSet restored_types) {
|
| if (!event_handler_.IsInitialized()) {
|
| return;
|
| }
|
| // Ignore the |js_backend| argument; it's not really convertible to
|
| // JSON anyway.
|
| - HandleJsEvent(FROM_HERE, "onInitializationComplete", JsEventDetails());
|
| +
|
| + DictionaryValue* details = new DictionaryValue();
|
| + details->Set("restoredTypes", ModelTypeSetToValue(restored_types));
|
| +
|
| + HandleJsEvent(FROM_HERE, "onInitializationComplete", JsEventDetails(details));
|
| }
|
|
|
| void JsSyncManagerObserver::OnStopSyncingPermanently() {
|
|
|