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

Unified Diff: net/quic/crypto/quic_decrypter.h

Issue 1787453002: Switch "const StringPiece&" to just "StringPiece" in QUIC code. No functional change. Not flag prot… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116566297
Patch Set: Remove const StringPiece& from _nss crypto files. Created 4 years, 9 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 | « net/quic/crypto/p256_key_exchange_openssl.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_decrypter.h
diff --git a/net/quic/crypto/quic_decrypter.h b/net/quic/crypto/quic_decrypter.h
index 3e55170d0bf19c0cd4f5464c3e7144c054cc6935..4f2be96ff192f1646685d4c5dc086a38a5362dc8 100644
--- a/net/quic/crypto/quic_decrypter.h
+++ b/net/quic/crypto/quic_decrypter.h
@@ -52,8 +52,8 @@ class NET_EXPORT_PRIVATE QuicDecrypter {
// to non-authentic inputs, as opposed to other reasons for failure.
virtual bool DecryptPacket(QuicPathId path_id,
QuicPacketNumber packet_number,
- const base::StringPiece& associated_data,
- const base::StringPiece& ciphertext,
+ base::StringPiece associated_data,
+ base::StringPiece ciphertext,
char* output,
size_t* output_length,
size_t max_output_length) = 0;
« no previous file with comments | « net/quic/crypto/p256_key_exchange_openssl.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698