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

Unified Diff: net/tools/quic/quic_in_memory_cache.h

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/tools/quic/quic_in_memory_cache.h
diff --git a/net/tools/quic/quic_in_memory_cache.h b/net/tools/quic/quic_in_memory_cache.h
index be091d5579e7cd8a02bfa0c4605ae89aae5accb5..d7a2ff1ce7c1def57f16127f43e8ab3d48e9e185 100644
--- a/net/tools/quic/quic_in_memory_cache.h
+++ b/net/tools/quic/quic_in_memory_cache.h
@@ -14,7 +14,8 @@
#include "net/tools/balsa/balsa_headers.h"
#include "net/tools/balsa/noop_balsa_visitor.h"
-template <typename T> struct DefaultSingletonTraits;
+template <typename T>
+struct DefaultSingletonTraits;
namespace net {
namespace tools {
@@ -35,7 +36,7 @@ class QuicInMemoryCache {
enum SpecialResponseType {
REGULAR_RESPONSE, // Send the headers and body like a server should.
CLOSE_CONNECTION, // Close the connection (sending the close packet).
- IGNORE_REQUEST, // Do nothing, expect the client to time out.
+ IGNORE_REQUEST, // Do nothing, expect the client to time out.
};
// Container for response header/body pairs.
@@ -54,9 +55,7 @@ class QuicInMemoryCache {
void set_headers(const BalsaHeaders& headers) {
headers_.CopyFrom(headers);
}
- void set_body(base::StringPiece body) {
- body.CopyToString(&body_);
- }
+ void set_body(base::StringPiece body) { body.CopyToString(&body_); }
SpecialResponseType response_type_;
BalsaHeaders headers_;

Powered by Google App Engine
This is Rietveld 408576698