|
|
[Sync] Implement keystore migration support.
We'll now trigger migration if the keystore key is available, the cryptographer
is ready, and the nigori node isn't already properly migrated. Note that this
means we won't trigger migration without at least the implicit gaia password
already available to the cryptographer, in order to support backwards
compatibility with older clients. Eventually that will change.
In addition, once a nigori node has been migrated, any client that supports
keystore encryption will follow the new encryption constraints, whether
or not the --sync-keystore-encryption flag is passed. This means that if
the user sets a custom passphrase, encrypt everything will also be enabled
(and vice versa).
Migration-aware conflict resolution is not implemented yet.
BUG= 129665
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156646
Total comments: 27
Total comments: 23
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2241 lines, -331 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
sync/engine/apply_control_data_updates.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/engine/apply_control_data_updates_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/debug_info_event_listener.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/js_sync_encryption_handler_observer.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/js_sync_encryption_handler_observer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/js_sync_encryption_handler_observer_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sync_encryption_handler.h
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/util/sync_string_conversions.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/util/sync_string_conversions.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_encryption_handler_impl.h
|
View
|
1
2
3
4
5
6
|
8 chunks |
+93 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_encryption_handler_impl.cc
|
View
|
1
2
3
4
5
6
7
|
23 chunks |
+607 lines, -112 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_encryption_handler_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+1211 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
20 chunks |
+37 lines, -33 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/client_debug_info.proto
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/protocol/nigori_specifics.proto
|
View
|
1
2
3
4
5
6
|
2 chunks |
+31 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_enum_conversions.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_enum_conversions.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/proto_value_conversions.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/test/fake_sync_encryption_handler.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/test/fake_sync_encryption_handler.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer.h
|
View
|
1
2
3
4
5
|
4 chunks |
+40 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+116 lines, -63 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -21 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|