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

Unified Diff: net/base/ssl_config_service.h

Issue 8156001: net: rework the NPN patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 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/base/ssl_config_service.h
diff --git a/net/base/ssl_config_service.h b/net/base/ssl_config_service.h
index 10d143c646936b1ebbb69fc19844385dadf8396a..0746abf7dc00d5fbcaedfb4d5ae6e7c626eeffc4 100644
--- a/net/base/ssl_config_service.h
+++ b/net/base/ssl_config_service.h
@@ -97,12 +97,12 @@ struct NET_EXPORT SSLConfig {
// needs to clear tls1_enabled).
// The list of application level protocols supported. If set, this will
- // enable Next Protocol Negotiation (if supported). This is a list of 8-bit
- // length prefixed strings. The order of the protocols doesn't matter expect
- // for one case: if the server supports Next Protocol Negotiation, but there
- // is no overlap between the server's and client's protocol sets, then the
- // first protocol in this list will be requested by the client.
- std::string next_protos;
+ // enable Next Protocol Negotiation (if supported). The order of the
+ // protocols doesn't matter expect for one case: if the server supports Next
+ // Protocol Negotiation, but there is no overlap between the server's and
+ // client's protocol sets, then the first protocol in this list will be
+ // requested by the client.
+ std::vector<std::string> next_protos;
scoped_refptr<X509Certificate> client_cert;

Powered by Google App Engine
This is Rietveld 408576698