|
sync: hook up ServerConnectionManager <> SyncerThread2 and tie up more loose ends
This permits the thread to initiate syncing by waiting for valid network connectivity.
Adds a callback to SyncerThread2::Start to learn when config mode has started.
Makes ConfigureDataTypes asynchronous to allow waiting for config mode to have started.
As a result of this, passing --new-syncer-thread on the command line actually works and doesn't crash (too much!)
BUG= 26339
TEST=SyncerThread2Test
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79717
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+426 lines, -163 lines) |
Patch |
 |
M |
chrome/browser/sync/engine/all_status.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/cleanup_disabled_types_command_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/model_safe_worker.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/net/server_connection_manager.h
|
View
|
|
5 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/net/server_connection_manager.cc
|
View
|
|
5 chunks |
+23 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncapi.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncapi.cc
|
View
|
1
2
3
|
7 chunks |
+38 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer.cc
|
View
|
1
|
2 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_end_command.cc
|
View
|
1
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_thread2.h
|
View
|
1
2
3
|
10 chunks |
+31 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_thread2.cc
|
View
|
1
2
3
|
8 chunks |
+83 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_thread2_unittest.cc
|
View
|
1
2
3
|
25 chunks |
+69 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_thread_adapter.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_types.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/update_applicator.cc
|
View
|
1
|
1 chunk |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
2
3
|
5 chunks |
+26 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
|
7 chunks |
+88 lines, -49 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/profile_sync_service.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/test/sync/engine/mock_connection_manager.cc
|
View
|
1
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|