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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: net/quic/crypto/null_decrypter.cc
diff --git a/net/quic/crypto/null_decrypter.cc b/net/quic/crypto/null_decrypter.cc
index c58e7b07c0b2ccac87cc1bb9394d7f8ebbac7e31..329a9a28cc04bf9aba4e87e7ee8abd64ceadd2fe 100644
--- a/net/quic/crypto/null_decrypter.cc
+++ b/net/quic/crypto/null_decrypter.cc
@@ -11,9 +11,12 @@ using std::string;
namespace net {
-NullDecrypter::NullDecrypter() {}
+NullDecrypter::NullDecrypter() {
+}
-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();
@@ -68,15 +71,18 @@ 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();
+}
bool NullDecrypter::ReadHash(QuicDataReader* reader, uint128* hash) {
uint64 lo;
uint32 hi;
- if (!reader->ReadUInt64(&lo) ||
- !reader->ReadUInt32(&hi)) {
+ if (!reader->ReadUInt64(&lo) || !reader->ReadUInt32(&hi)) {
return false;
}
*hash = hi;

Powered by Google App Engine
This is Rietveld 408576698