|
Use base::ResetAndReturn() in remoting.
base::ResetAndReturn() makes code shorter and simpler. Also in several
places callbacks were Reset() after Run(), which is dangerous for
callback that are allowed to delete the caller. base::ResetAndReturn()
helps to avoid this issue.
Committed: https://crrev.com/d9bdcb6c95619e6cb3a4281156573c58f7626a26
Cr-Commit-Position: refs/heads/master@{#326940}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+60 lines, -90 lines) |
Patch |
 |
M |
remoting/client/plugin/chromoting_instance.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/client/token_fetcher_proxy.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/daemon_process.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/host/dns_blackhole_checker.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/heartbeat_sender.cc
|
View
|
|
3 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
remoting/host/it2me/it2me_host.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/register_support_host_request.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/daemon_controller_delegate_mac.mm
|
View
|
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/host_starter.cc
|
View
|
|
5 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
 |
M |
remoting/host/setup/oauth_client.cc
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/fake_authenticator.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/fake_datagram_socket.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/ssl_hmac_channel_authenticator.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/protocol/ssl_hmac_channel_authenticator.cc
|
View
|
1
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
remoting/protocol/third_party_authenticator_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/signaling/iq_sender.cc
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
remoting/test/access_token_fetcher.cc
|
View
|
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
remoting/test/remote_host_info_fetcher.cc
|
View
|
|
5 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
Total messages: 14 (6 generated)
|