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

Unified Diff: net/http/http_byte_range.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/http/http_byte_range.cc
diff --git a/net/http/http_byte_range.cc b/net/http/http_byte_range.cc
index b43cb2e8008608c025ceb94355cb28d06b818ab7..69ae2307a5eccac17bed7b806373ce17911bb0a3 100644
--- a/net/http/http_byte_range.cc
+++ b/net/http/http_byte_range.cc
@@ -79,7 +79,8 @@ std::string HttpByteRange::GetHeaderValue() const {
return base::StringPrintf("bytes=%" PRId64 "-", first_byte_position());
return base::StringPrintf("bytes=%" PRId64 "-%" PRId64,
- first_byte_position(), last_byte_position());
+ first_byte_position(),
+ last_byte_position());
}
bool HttpByteRange::ComputeBounds(int64 size) {
@@ -90,8 +91,7 @@ bool HttpByteRange::ComputeBounds(int64 size) {
has_computed_bounds_ = true;
// Empty values.
- if (!HasFirstBytePosition() &&
- !HasLastBytePosition() &&
+ if (!HasFirstBytePosition() && !HasLastBytePosition() &&
!IsSuffixByteRange()) {
first_byte_position_ = 0;
last_byte_position_ = size - 1;

Powered by Google App Engine
This is Rietveld 408576698