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

Unified Diff: net/http/http_byte_range.cc

Issue 1800003: Auto-format style pass over files. (Closed)
Patch Set: Remove trailing whitespace. Created 10 years, 8 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/http/http_auth_unittest.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_byte_range.cc
diff --git a/net/http/http_byte_range.cc b/net/http/http_byte_range.cc
index 8978d9af3321504d71320636236abe8a8d8c5bf6..60683c5584f5578dd0c4e76ce41f4c12341cdacc 100644
--- a/net/http/http_byte_range.cc
+++ b/net/http/http_byte_range.cc
@@ -36,9 +36,9 @@ bool HttpByteRange::HasLastBytePosition() const {
bool HttpByteRange::IsValid() const {
if (suffix_length_ > 0)
return true;
- return first_byte_position_ >= 0 &&
- (last_byte_position_ == kPositionNotSpecified ||
- last_byte_position_ >= first_byte_position_);
+ return (first_byte_position_ >= 0 &&
+ (last_byte_position_ == kPositionNotSpecified ||
+ last_byte_position_ >= first_byte_position_));
}
bool HttpByteRange::ComputeBounds(int64 size) {
@@ -52,9 +52,9 @@ bool HttpByteRange::ComputeBounds(int64 size) {
if (!HasFirstBytePosition() &&
!HasLastBytePosition() &&
!IsSuffixByteRange()) {
- first_byte_position_ = 0;
- last_byte_position_ = size - 1;
- return true;
+ first_byte_position_ = 0;
+ last_byte_position_ = size - 1;
+ return true;
}
if (!IsValid())
return false;
« no previous file with comments | « net/http/http_auth_unittest.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698