|
Refactor TokenValidatorImpl into a base class + implementation.
Most of the common logic and response handling code are moved into a base class, and the implementation contains just the logic to prepare the validation request (which is where the actual keypair-based authentication happens). This makes it easier to implement different, non-keypair-based host authentication mechanisms.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253378
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+213 lines, -401 lines) |
Patch |
|
M |
remoting/host/remoting_me2me_host.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
remoting/host/token_validator_base.h
|
View
|
1
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
|
A + |
remoting/host/token_validator_base.cc
|
View
|
|
9 chunks |
+18 lines, -132 lines |
0 comments
|
Download
|
|
M |
remoting/host/token_validator_factory_impl.h
|
View
|
1
|
2 chunks |
+6 lines, -20 lines |
0 comments
|
Download
|
|
M |
remoting/host/token_validator_factory_impl.cc
|
View
|
1
|
7 chunks |
+12 lines, -194 lines |
0 comments
|
Download
|
|
M |
remoting/host/token_validator_factory_impl_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/me2me_host_authenticator_factory.h
|
View
|
1
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/me2me_host_authenticator_factory.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/negotiating_host_authenticator.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/negotiating_host_authenticator.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
remoting/protocol/third_party_authenticator_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/third_party_host_authenticator.h
|
View
|
1
|
3 chunks |
+2 lines, -39 lines |
0 comments
|
Download
|
|
M |
remoting/protocol/third_party_host_authenticator.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
remoting/protocol/token_validator.h
|
View
|
1
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/remoting_host.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
remoting/remoting_srcs.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|