|
[Sync] Replace uses of ObserverListThreadSafe with WeakHandles
ObserverListThreadSafe was overkill since there was only two threads
involved, and only one observer.
Add MessageLoop member variables to various test classes that need it
(ObserverListThreadSafe had a hack that made it unnecessary before.)
BUG= 103732
TEST=Start with a clean profile and set up sync. about:profiler shouldn't
show ObserverListThreadSafe::Notify calls with sync threads anymore.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110836
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+303 lines, -181 lines) |
Patch |
 |
M |
chrome/browser/sync/engine/syncer_proto_util_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/engine/syncer_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/debug_info_event_listener.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/sync_manager.h
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/sync_manager.cc
|
View
|
1
2
|
13 chunks |
+19 lines, -41 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/internal_api/syncapi_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/js/js_mutation_event_observer.h
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/js/js_mutation_event_observer.cc
|
View
|
|
1 chunk |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h
|
View
|
|
3 chunks |
+21 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc
|
View
|
|
8 chunks |
+48 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/notifier/non_blocking_invalidation_notifier_unittest.cc
|
View
|
|
1 chunk |
+19 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/sessions/sync_session_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_manager.h
|
View
|
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/directory_manager.cc
|
View
|
|
2 chunks |
+16 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.h
|
View
|
1
|
7 chunks |
+27 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable.cc
|
View
|
1
|
9 chunks |
+32 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_mock.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/syncable/syncable_unittest.cc
|
View
|
|
24 chunks |
+37 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/engine/syncer_command_test.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/test/engine/test_directory_setter_upper.cc
|
View
|
|
4 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/test/null_transaction_observer.h
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/sync/test/null_transaction_observer.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|