Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: net/http/http_auth_sspi_win.h

Issue 1408433006: Support tls-server-end-point channel bindings for HTTP authentication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Narrower dependencies, update comments, address review comments. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_auth_sspi_win.h
diff --git a/net/http/http_auth_sspi_win.h b/net/http/http_auth_sspi_win.h
index 1d524fa12c4f3df45564fbee18841f4cad948dad..32f30dd903f9e588cc114068fdbef3197efc6fe1 100644
--- a/net/http/http_auth_sspi_win.h
+++ b/net/http/http_auth_sspi_win.h
@@ -146,6 +146,7 @@ class NET_EXPORT_PRIVATE HttpAuthSSPI {
// credentials are used instead.
int GenerateAuthToken(const AuthCredentials* credentials,
const std::string& spn,
+ const std::string& channel_bindings,
std::string* auth_token,
const CompletionCallback& callback);
@@ -157,12 +158,12 @@ class NET_EXPORT_PRIVATE HttpAuthSSPI {
private:
int OnFirstRound(const AuthCredentials* credentials);
- int GetNextSecurityToken(
- const std::string& spn,
- const void* in_token,
- int in_token_len,
- void** out_token,
- int* out_token_len);
+ int GetNextSecurityToken(const std::string& spn,
+ const std::string& channing_bindings,
+ const void* in_token,
+ int in_token_len,
+ void** out_token,
+ int* out_token_len);
void ResetSecurityContext();

Powered by Google App Engine
This is Rietveld 408576698