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

Unified Diff: net/spdy/hpack_entry.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/spdy/hpack_entry.cc
diff --git a/net/spdy/hpack_entry.cc b/net/spdy/hpack_entry.cc
index e62c79923727497c18940159bee7c9e9fb44ecbb..94863bb20771adec2e4fdd91b10e40d61900311e 100644
--- a/net/spdy/hpack_entry.cc
+++ b/net/spdy/hpack_entry.cc
@@ -14,8 +14,8 @@ using base::StringPiece;
const size_t HpackEntry::kSizeOverhead = 32;
-bool HpackEntry::Comparator::operator() (
- const HpackEntry* lhs, const HpackEntry* rhs) const {
+bool HpackEntry::Comparator::operator()(const HpackEntry* lhs,
+ const HpackEntry* rhs) const {
int result = lhs->name().compare(rhs->name());
if (result != 0)
return result < 0;
@@ -57,7 +57,8 @@ HpackEntry::HpackEntry()
total_insertions_or_size_(NULL) {
}
-HpackEntry::~HpackEntry() {}
+HpackEntry::~HpackEntry() {
+}
size_t HpackEntry::Index() const {
if (total_insertions_or_size_ == NULL) {
@@ -79,10 +80,9 @@ size_t HpackEntry::Size() const {
}
std::string HpackEntry::GetDebugString() const {
- return "{ name: \"" + name_ +
- "\", value: \"" + value_ +
- "\", " + (IsStatic() ? "static" : "dynamic") +
- ", state: " + base::IntToString(state_) + " }";
+ return "{ name: \"" + name_ + "\", value: \"" + value_ + "\", " +
+ (IsStatic() ? "static" : "dynamic") + ", state: " +
+ base::IntToString(state_) + " }";
}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698