|
[Sync] Persist keystore key across restarts
Adds the preference for the bootstrap token and the bootstrapping functionality
in the cryptographer so that we persist the keystore key across restarts. With
this, we should only ever do one GetKey per client, and only on the first time
that client signs in/restarts on a version with GetKey support (although it's
not persisted across signouts/profile nukes)
BUG= 129665
TEST=unit_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149344
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+192 lines, -33 lines) |
Patch |
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
2
3
|
4 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
|
7 chunks |
+34 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_prefs.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sync_prefs.cc
|
View
|
1
2
3
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/sync_manager.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/test/fake_sync_manager.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/syncapi_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/internal_api/test/fake_sync_manager.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/tools/sync_client.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer.h
|
View
|
1
2
3
|
4 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer.cc
|
View
|
1
2
3
|
6 chunks |
+40 lines, -14 lines |
0 comments
|
Download
|
 |
M |
sync/util/cryptographer_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/get_session_name.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|