DescriptionChange next_proto member type.
Change type of next_proto members of HttpNetworkTransaction and SSLConfig from
vector<string> to NextProtoVector. This offers better type safety and clarity.
Also, when SSLClientConfig needs to remove HTTP/2 protocols due to inadequate
security, it would feel silly having to convert strings back to NextProto. It
just makes sense to postpone generating strings until very close to the wire.
BUG=436835
Committed: https://crrev.com/0d23cf415d4d0f7538750db34aa20297ff5aa169
Cr-Commit-Position: refs/heads/master@{#307894}
Patch Set 1 #Patch Set 2 : Work around C++-11-only string::pop_back(). #Patch Set 3 : Fix type in callback. #
Total comments: 16
Patch Set 4 : First round of comments. #Patch Set 5 : Oops. #Patch Set 6 : Remove braces around one line if statements. #
Total comments: 2
Patch Set 7 : Nit in comment. #
Messages
Total messages: 10 (2 generated)
|