|
[Sync] Split DirectoryChangeListener for thread-safety
Split DirectoryChangeListener into DirectoryChangeDelegate and
TransactionObserver classes. This removes a remove/notify race
condition with the DirectoryChange events.
Make syncable::{Read,Write}Transaction take Locations instead of
file/line pairs.
Move construction of sync_manager_ into sync thread.
Add logging utils in sync/logging.{h,cc}.
Add overloads to ObserverListThreadSafe::Notify for 2, 3, and 4
arguments.
Fixed 'Inital' misspelling in SyncBackendHost (finally).
BUG= 85656
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89413
Total comments: 2
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+899 lines, -771 lines) |
Patch |
|
M |
base/observer_list_threadsafe.h
|
View
|
1
2
3
4
5
|
1 chunk |
+22 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resources/sync_internals/chrome_sync.js
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/abstract_profile_sync_service_test.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/apply_updates_command.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/apply_updates_command_unittest.cc
|
View
|
|
13 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/conflict_resolver.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/post_commit_message_command.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/process_commit_response_command.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/process_commit_response_command_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/process_updates_command.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/sync_scheduler.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -21 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncapi.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncapi.cc
|
View
|
1
2
3
4
5
|
18 chunks |
+17 lines, -31 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncapi_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncer.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncer_unittest.cc
|
View
|
|
174 chunks |
+175 lines, -174 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/syncer_util.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/verify_updates_command.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/engine/verify_updates_command_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/glue/sync_backend_host.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/glue/sync_backend_host.cc
|
View
|
1
2
3
4
5
6
|
20 chunks |
+67 lines, -57 lines |
0 comments
|
Download
|
|
D |
chrome/browser/sync/js_directory_change_listener.h
|
View
|
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
|
D |
chrome/browser/sync/js_directory_change_listener.cc
|
View
|
|
1 chunk |
+0 lines, -61 lines |
0 comments
|
Download
|
|
A |
chrome/browser/sync/js_transaction_observer.h
|
View
|
1
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/sync/js_transaction_observer.cc
|
View
|
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/profile_sync_service_autofill_unittest.cc
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/profile_sync_service_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/sessions/sync_session_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
A + |
chrome/browser/sync/syncable/directory_change_delegate.h
|
View
|
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
D |
chrome/browser/sync/syncable/directory_change_listener.h
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/directory_manager.h
|
View
|
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/directory_manager.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable.h
|
View
|
|
12 chunks |
+40 lines, -37 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable.cc
|
View
|
1
2
3
4
|
18 chunks |
+62 lines, -127 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable_mock.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable_mock.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/syncable/syncable_unittest.cc
|
View
|
|
73 chunks |
+95 lines, -85 lines |
0 comments
|
Download
|
|
A |
chrome/browser/sync/syncable/transaction_observer.h
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/sync/util/logging.h
|
View
|
1
2
3
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/sync/util/logging.cc
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome.gyp
|
View
|
1
2
3
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/sync/engine/mock_connection_manager.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/sync/engine/test_directory_setter_upper.h
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/sync/engine/test_directory_setter_upper.cc
|
View
|
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
A |
chrome/test/sync/null_directory_change_delegate.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/test/sync/null_directory_change_delegate.cc
|
View
|
1
2
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|