|
Replace MessageLoop::current() with ThreadTaskRunnerHandle::Get() in GCM
Usages of MessageLoop::current() in GCM production code have been
replaced with ThreadTaskRunnerHandle::Get(). Usages of MessageLoop
in some test codes have also been replaced, but not all since we
don't have alternative to replace RunLoop.
BUG=none
TEST=none
Committed: https://crrev.com/1389abf29e75c80041b80dbbf7a2f7e6bb8233fb
Cr-Commit-Position: refs/heads/master@{#338401}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -49 lines) |
Patch |
|
M |
components/gcm_driver/gcm_channel_status_request_unittest.cc
|
View
|
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/base/mcs_message_unittest.cc
|
View
|
|
2 chunks |
+7 lines, -3 lines |
4 comments
|
Download
|
|
M |
google_apis/gcm/engine/checkin_request.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/checkin_request_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/connection_factory_impl.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/connection_factory_impl_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/connection_handler_impl.cc
|
View
|
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/gcm_store_impl_unittest.cc
|
View
|
|
5 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/heartbeat_manager.cc
|
View
|
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/heartbeat_manager_unittest.cc
|
View
|
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/mcs_client.cc
|
View
|
|
5 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/registration_request.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/registration_request_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/unregistration_request.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
google_apis/gcm/engine/unregistration_request_unittest.cc
|
View
|
|
3 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (2 generated)
|