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

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

Issue 14816006: Land Recent QUIC changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing NET_PRIVATE_EXPORT to QuicWallTime Created 7 years, 7 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/key_exchange.h ('k') | net/quic/crypto/null_decrypter_test.cc » ('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 087555886f02b2e16e82f2620795a11a8961f3e0..7bda75fe80d70693122a5ab4b9a72bba4f8b7fe4 100644
--- a/net/quic/crypto/null_decrypter.cc
+++ b/net/quic/crypto/null_decrypter.cc
@@ -11,9 +11,7 @@ using std::string;
namespace net {
-bool NullDecrypter::SetKey(StringPiece key) {
- return key.empty();
-}
+bool NullDecrypter::SetKey(StringPiece key) { return key.empty(); }
bool NullDecrypter::SetNoncePrefix(StringPiece nonce_prefix) {
return nonce_prefix.empty();
@@ -69,12 +67,8 @@ QuicData* NullDecrypter::DecryptPacket(QuicPacketSequenceNumber /*seq_number*/,
return new QuicData(plaintext.data(), plaintext.length());
}
-StringPiece NullDecrypter::GetKey() const {
- return StringPiece();
-}
+StringPiece NullDecrypter::GetKey() const { return StringPiece(); }
-StringPiece NullDecrypter::GetNoncePrefix() const {
- return StringPiece();
-}
+StringPiece NullDecrypter::GetNoncePrefix() const { return StringPiece(); }
} // namespace net
« no previous file with comments | « net/quic/crypto/key_exchange.h ('k') | net/quic/crypto/null_decrypter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698