|
|
Remove remaining calls to deprecated MessageLoop methods.
This CL makes the following replacements everywhere:
Before After
----------------------------------------------------------
x.PostTask() x.task_runner()->PostTask()
PostDelayedTask() PostDelayedTask()
ReleaseSoon() ReleaseSoon()
DeleteSoon() DeleteSoon()
x->PostTask() y->task_runner()->PostTask()
PostDelayedTask() PostDelayedTask()
ReleaseSoon() ReleaseSoon()
DeleteSoon() DeleteSoon()
x.Run() RunLoop().Run()
x.RunUntilIdle() RunLoop().RunUntilIdle()
x->Run() RunLoop().Run()
x->RunUntilIdle() RunLoop().RunUntilIdle()
If |x| isn't MessageLoopForUI::current() or
MessageLoopForIO::current()
----------------------------------------------------------
|x| is a base::MessageLoop(ForUI|ForIO) or a pointer to
a base::MessageLoop(ForUI|ForIO).
This CL was generated using the MessageLoopDeprecatedMethods
clang-tidy fix available on the associated bug. Only files
that compile on Mac are affected. Follow-up CLs will make
these replacements for other platforms.
This CL doesn't change code behavior.
TBR=garykac@chromium.org
BUG= 616447
Committed: https://crrev.com/6d056ff7a8b9cadcd19dba50d20059428aa1db9b
Cr-Commit-Position: refs/heads/master@{#403716}
Total comments: 12
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+91 lines, -78 lines) |
Patch |
 |
M |
chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/test/chromedriver/server/chromedriver_server.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/personal_data_manager_unittest.cc
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/precache/core/precache_fetcher_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_url_request_job_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/media/media_stream_audio_processor.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ipc/ipc_sync_channel.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/test/pipeline_integration_test.cc
|
View
|
1
2
3
4
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/associated_interface_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/binding_callback_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/binding_unittest.cc
|
View
|
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/request_response_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/sync_method_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/union_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/bindings/tests/validation_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/chromoting_host_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/desktop_process_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/ipc_desktop_environment_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/authenticator_test_base.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/channel_multiplexer_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/connection_tester.h
|
View
|
1
2
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/connection_tester.cc
|
View
|
1
2
3
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/monitored_video_stub_unittest.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/negotiating_authenticator_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/test/protocol_perftest.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/shell/tests/shell/shell_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 27 (10 generated)
|