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

Unified Diff: net/socket/ssl_client_socket.h

Issue 794563003: Change next_proto member type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix type in callback. Created 6 years 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.h
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h
index 11b19a1ec02480d2423187e37a9cb8912367ffa4..ff0e3034ec8c6a6ae46c3dd1a0ff724d7045b01e 100644
--- a/net/socket/ssl_client_socket.h
+++ b/net/socket/ssl_client_socket.h
@@ -212,7 +212,7 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
// Serializes |next_protos| in the wire format for ALPN: protocols are listed
// in order, each prefixed by a one-byte length.
static std::vector<uint8_t> SerializeNextProtos(
- const std::vector<std::string>& next_protos);
+ const NextProtoVector& next_protos);
Ryan Hamilton 2014/12/10 20:09:00 Can this fit on the previos line? (probably not)
Bence 2014/12/10 22:01:23 Unfortunately not.
// For unit testing only.
// Returns the unverified certificate chain as presented by server.

Powered by Google App Engine
This is Rietveld 408576698