|
Removing 'AllowScopedIO' exception from SecurityKeyAuthHandlerLinux
This change updates the SecurityKeyAuthHandlerLinux class to run its
socket operations on a task_runner which allows blocking IO.
The first part of the change is plumbing through the file_task_runner
from the Me2Me host (which owns the context with the task runners)
down to the auth handler class which requires it.
The second part of the change was to move the file delete operation
to the file thread and then post back to the main thread.
I've also updated the unit tests for the affected class since it now
needs to handle synchronization between two threads.
BUG= 591739
R=sergeyu@chromium.org
TBR=dpranke@chromium.org
Committed: https://crrev.com/a6a4b6a1fd3a1dee72e8d03d460cd0c5f8d182d9
Cr-Commit-Position: refs/heads/master@{#407649}
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -68 lines) |
Patch |
 |
M |
PRESUBMIT.py
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/chromoting_host.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/remoting_me2me_host.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler.h
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler_android.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler_linux.cc
|
View
|
1
2
3
|
8 chunks |
+46 lines, -28 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler_linux_unittest.cc
|
View
|
1
|
9 chunks |
+40 lines, -21 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler_mac.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler_win.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_auth_handler_win_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_extension.h
|
View
|
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_extension.cc
|
View
|
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_extension_session.h
|
View
|
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_extension_session.cc
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
remoting/host/security_key/security_key_extension_session_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 29 (15 generated)
|