summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_encryption_handler_impl.h
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-17 20:42:01 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-17 20:42:01 +0000
commitbe72dd2fdf5afb3db30579ac11fa4df5f3559e26 (patch)
tree1d3acffbc6939b7e510874aeba3c01e3716fa6b8 /sync/internal_api/sync_encryption_handler_impl.h
parentbe973f5a168edcaed5f19a04b4e8d49ae240de77 (diff)
downloadchromium_src-be72dd2fdf5afb3db30579ac11fa4df5f3559e26.zip
chromium_src-be72dd2fdf5afb3db30579ac11fa4df5f3559e26.tar.gz
chromium_src-be72dd2fdf5afb3db30579ac11fa4df5f3559e26.tar.bz2
[Sync] Add keystore migration conflict support.
We rely on the encryption handler's rollback detection for any cases where conflicts might lose data and we can't merge. Else, we merge the data as needed. BUG=129665 Review URL: https://chromiumcodereview.appspot.com/10905191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_encryption_handler_impl.h')
-rw-r--r--sync/internal_api/sync_encryption_handler_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/internal_api/sync_encryption_handler_impl.h b/sync/internal_api/sync_encryption_handler_impl.h
index 8c9edd1..f54055b 100644
--- a/sync/internal_api/sync_encryption_handler_impl.h
+++ b/sync/internal_api/sync_encryption_handler_impl.h
@@ -116,6 +116,8 @@ class SyncEncryptionHandlerImpl
SetImplicitPassAfterMigrationNoKeystoreKey);
FRIEND_TEST_ALL_PREFIXES(SyncEncryptionHandlerImplTest,
MigrateOnEncryptEverythingKeystorePassphrase);
+ FRIEND_TEST_ALL_PREFIXES(SyncEncryptionHandlerImplTest,
+ ReceiveMigratedNigoriWithOldPassphrase);
// Container for members that require thread safety protection. All members
// that can be accessed from more than one thread should be held here and