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

Unified Diff: content/browser/loader/resource_loader.cc

Issue 1313363003: Expose OpenSSL's key_exchange_info in the content API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Proper #ifdef fix Created 5 years, 3 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
« no previous file with comments | « no previous file | content/common/ssl_status_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_loader.cc
diff --git a/content/browser/loader/resource_loader.cc b/content/browser/loader/resource_loader.cc
index d397a06bc0dafd199ef934bbd32255da384523d5..64f5e7b341ba6c365ebe3e2d7af950448fb0bd83 100644
--- a/content/browser/loader/resource_loader.cc
+++ b/content/browser/loader/resource_loader.cc
@@ -111,9 +111,10 @@ void PopulateResourceResponse(ResourceRequestInfoImpl* info,
response->head.security_info = SerializeSecurityInfo(ssl_status);
} else {
// We should not have any SSL state.
- DCHECK(!request->ssl_info().cert_status &&
- request->ssl_info().security_bits == -1 &&
- !request->ssl_info().connection_status);
+ DCHECK(!request->ssl_info().cert_status);
+ DCHECK_EQ(request->ssl_info().security_bits, -1);
+ DCHECK_EQ(request->ssl_info().key_exchange_info, 0);
+ DCHECK(!request->ssl_info().connection_status);
}
}
« no previous file with comments | « no previous file | content/common/ssl_status_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698