|
Remove WeakHandle from components/invalidation
Replaces the use of WeakHandle with combinations of WeakPtr and
SingleThreadTaskRunner. The WeakHandle encapsulates both of these
concepts, so the replacment is not much different from the original.
The removal makes the code a bit uglier. However, the WeakHandle is not
widely used outside of sync and has no chance of making it to base/.
Its use in new code is discouraged. Moving components/invalidation/ to
WeakPtr and SingeThreadTaskRunner will make it more future proof, and
allow us to remove its dependency on libsync.
TBR=dcheng
BUG= 394925
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288523
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+191 lines, -121 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/invalidation/invalidation_service_android.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/invalidation.gypi
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/DEPS
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/invalidation.h
|
View
|
|
3 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/invalidation.cc
|
View
|
1
|
2 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/invalidation_notifier.h
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/invalidation_notifier.cc
|
View
|
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/invalidation_notifier_unittest.cc
|
View
|
|
2 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/mock_ack_handler.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/mock_ack_handler.cc
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/non_blocking_invalidator.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+54 lines, -36 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/sync_invalidation_listener.h
|
View
|
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/sync_invalidation_listener.cc
|
View
|
1
|
11 chunks |
+41 lines, -27 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/sync_invalidation_listener_unittest.cc
|
View
|
|
3 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/unacked_invalidation_set.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/unacked_invalidation_set.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/unacked_invalidation_set_test_util.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/invalidation/unacked_invalidation_set_unittest.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|