| Index: chrome/browser/sync/js/js_sync_manager_observer.cc
|
| diff --git a/chrome/browser/sync/js/js_sync_manager_observer.cc b/chrome/browser/sync/js/js_sync_manager_observer.cc
|
| index 7714f27422a7bc145920411c0620b84d0015e571..c817f235e471a8ec03c2479a536a04d058467b9e 100644
|
| --- a/chrome/browser/sync/js/js_sync_manager_observer.cc
|
| +++ b/chrome/browser/sync/js/js_sync_manager_observer.cc
|
| @@ -81,13 +81,15 @@ void JsSyncManagerObserver::OnPassphraseAccepted(
|
| }
|
|
|
| void JsSyncManagerObserver::OnEncryptionComplete(
|
| - const syncable::ModelTypeSet& encrypted_types) {
|
| + const syncable::ModelTypeSet& encrypted_types,
|
| + bool encrypt_everything) {
|
| if (!event_handler_.IsInitialized()) {
|
| return;
|
| }
|
| DictionaryValue details;
|
| details.Set("encryptedTypes",
|
| syncable::ModelTypeSetToValue(encrypted_types));
|
| + details.SetBoolean("encryptEverything", encrypt_everything);
|
| HandleJsEvent(FROM_HERE, "onEncryptionComplete", JsEventDetails(&details));
|
| }
|
|
|
|
|