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

Unified Diff: net/quic/core/crypto/crypto_handshake_message.h

Issue 2355493004: Adds CryptoHandshakeMessage::HasStringPiece method. (Closed)
Patch Set: Created 4 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 | net/quic/core/crypto/crypto_handshake_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/crypto_handshake_message.h
diff --git a/net/quic/core/crypto/crypto_handshake_message.h b/net/quic/core/crypto/crypto_handshake_message.h
index ab4f238a071a89cb7805c97b503e96476c670651..e4dccc3b5a8430d013d0dd5e6d7d85db2c80ed31 100644
--- a/net/quic/core/crypto/crypto_handshake_message.h
+++ b/net/quic/core/crypto/crypto_handshake_message.h
@@ -83,6 +83,7 @@ class NET_EXPORT_PRIVATE CryptoHandshakeMessage {
size_t* out_len) const;
bool GetStringPiece(QuicTag tag, base::StringPiece* out) const;
+ bool HasStringPiece(QuicTag tag) const;
// GetNthValue24 interprets the value with the given tag to be a series of
// 24-bit, length prefixed values and it returns the subvalue with the given
« no previous file with comments | « no previous file | net/quic/core/crypto/crypto_handshake_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698