|
[Sync] Cache encrypted types info in ProfileSyncService
Make Cryptographer emit notifications whenever the set of encrypted types changes and also when encryption is complete. Propagate that up to the ProfileSyncService.
Since retrieving the encrypted types info requires holding a transaction,
that may lead to deadlocks. This prevents that.
Remove some unnecessary functions and append ForTest to some other ones.
BUG= 95619, 100698
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106972
Total comments: 8
Total comments: 34
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+455 lines, -229 lines) |
Patch |
 |
M |
chrome/browser/resources/sync_internals/chrome_sync.js
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
2
3
4
|
4 chunks |
+32 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+30 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host_unittest.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/debug_info_event_listener.h
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/debug_info_event_listener.cc
|
View
|
1
2
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/sync_manager.h
|
View
|
1
2
3
4
|
2 chunks |
+42 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/sync_manager.cc
|
View
|
1
2
3
4
5
6
7
|
16 chunks |
+47 lines, -52 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/syncapi_unittest.cc
|
View
|
1
2
3
4
|
9 chunks |
+27 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/js/js_sync_manager_observer.h
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/js/js_sync_manager_observer.cc
|
View
|
1
2
|
1 chunk |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/js/js_sync_manager_observer_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.cc
|
View
|
1
2
3
4
|
4 chunks |
+42 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service_harness.cc
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/protocol/client_debug_info.proto
|
View
|
1
2
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
|
chrome/browser/sync/util/cryptographer.h
|
View
|
1
2
3
4
5
|
5 chunks |
+46 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/util/cryptographer.cc
|
View
|
1
2
3
4
|
4 chunks |
+55 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/util/cryptographer_unittest.cc
|
View
|
1
2
3
4
|
7 chunks |
+72 lines, -21 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|