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

Unified Diff: net/spdy/hpack/hpack_entry.cc

Issue 2718093002: Format HpackEntry initializer lists. (Closed)
Patch Set: Created 3 years, 10 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/spdy/hpack/hpack_decoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/hpack/hpack_entry.cc
diff --git a/net/spdy/hpack/hpack_entry.cc b/net/spdy/hpack/hpack_entry.cc
index 1c0eebed65ac74a3fb8590aad66871682cb2b268..8c5d3d436f2c1fce835fb7b9911df5122e4ee4a2 100644
--- a/net/spdy/hpack/hpack_entry.cc
+++ b/net/spdy/hpack/hpack_entry.cc
@@ -27,14 +27,17 @@ HpackEntry::HpackEntry(StringPiece name,
time_added_(0) {}
HpackEntry::HpackEntry(StringPiece name, StringPiece value)
- : name_ref_(name), value_ref_(value), insertion_index_(0), type_(LOOKUP),
+ : name_ref_(name),
+ value_ref_(value),
+ insertion_index_(0),
+ type_(LOOKUP),
time_added_(0) {}
-HpackEntry::HpackEntry()
- : insertion_index_(0), type_(LOOKUP), time_added_(0) {}
+HpackEntry::HpackEntry() : insertion_index_(0), type_(LOOKUP), time_added_(0) {}
HpackEntry::HpackEntry(const HpackEntry& other)
- : insertion_index_(other.insertion_index_), type_(other.type_),
+ : insertion_index_(other.insertion_index_),
+ type_(other.type_),
time_added_(0) {
if (type_ == LOOKUP) {
name_ref_ = other.name_ref_;
« no previous file with comments | « net/spdy/hpack/hpack_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698