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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 1408813002: Remove crypto::ECPrivateKey::IsSupported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/socket/ssl_client_socket_nss.cc
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc
index 6d9760fae40cb0c82c1d02fb90e0b32f3f7cc212..2ede4f5ec07757a241da0b1a73b17e15d2946b2e 100644
--- a/net/socket/ssl_client_socket_nss.cc
+++ b/net/socket/ssl_client_socket_nss.cc
@@ -648,10 +648,8 @@ class SSLClientSocketNSS::Core : public base::RefCountedThreadSafe<Core> {
void OnNSSBufferUpdated(int amount_in_read_buffer);
void DidNSSRead(int result);
void DidNSSWrite(int result);
- void RecordChannelIDSupportOnNetworkTaskRunner(
- bool negotiated_channel_id,
- bool channel_id_enabled,
- bool supports_ecc) const;
+ void RecordChannelIDSupportOnNetworkTaskRunner(bool negotiated_channel_id,
+ bool channel_id_enabled) const;
////////////////////////////////////////////////////////////////////////////
// Methods that are called on both the network task runner and the NSS
@@ -2131,23 +2129,17 @@ void SSLClientSocketNSS::Core::RecordChannelIDSupportOnNSSTaskRunner() {
// network task runner state.
PostOrRunCallback(
FROM_HERE,
- base::Bind(&Core::RecordChannelIDSupportOnNetworkTaskRunner,
- this,
- channel_id_xtn_negotiated_,
- ssl_config_.channel_id_enabled,
- crypto::ECPrivateKey::IsSupported()));
+ base::Bind(&Core::RecordChannelIDSupportOnNetworkTaskRunner, this,
+ channel_id_xtn_negotiated_, ssl_config_.channel_id_enabled));
}
void SSLClientSocketNSS::Core::RecordChannelIDSupportOnNetworkTaskRunner(
bool negotiated_channel_id,
- bool channel_id_enabled,
- bool supports_ecc) const {
+ bool channel_id_enabled) const {
DCHECK(OnNetworkTaskRunner());
- RecordChannelIDSupport(channel_id_service_,
- negotiated_channel_id,
- channel_id_enabled,
- supports_ecc);
+ RecordChannelIDSupport(channel_id_service_, negotiated_channel_id,
+ channel_id_enabled);
}
int SSLClientSocketNSS::Core::DoBufferRecv(IOBuffer* read_buffer, int len) {

Powered by Google App Engine
This is Rietveld 408576698