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

Unified Diff: net/quic/crypto/null_decrypter.cc

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/null_decrypter.h ('k') | net/quic/crypto/p256_key_exchange.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/null_decrypter.cc
diff --git a/net/quic/crypto/null_decrypter.cc b/net/quic/crypto/null_decrypter.cc
index 52217b589ba2e82bdb393ddedfb7944a8f2cc7ce..43adb67958bac6db2fec8b01b1632135f0de9bb9 100644
--- a/net/quic/crypto/null_decrypter.cc
+++ b/net/quic/crypto/null_decrypter.cc
@@ -27,8 +27,8 @@ bool NullDecrypter::SetNoncePrefix(StringPiece nonce_prefix) {
bool NullDecrypter::DecryptPacket(QuicPathId /*path_id*/,
QuicPacketNumber /*packet_number*/,
- const StringPiece& associated_data,
- const StringPiece& ciphertext,
+ StringPiece associated_data,
+ StringPiece ciphertext,
char* output,
size_t* output_length,
size_t max_output_length) {
« no previous file with comments | « net/quic/crypto/null_decrypter.h ('k') | net/quic/crypto/p256_key_exchange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698