Apply clang-format to all C, C++ and ObjC files (issue #2171)

This commit is contained in:
Marshall Greenblatt
2017-05-17 11:29:28 +02:00
parent a566549e04
commit 31d9407ee2
1331 changed files with 33014 additions and 32258 deletions

View File

@@ -10,10 +10,7 @@
namespace net {
UploadData::UploadData()
: identifier_(0),
is_chunked_(false),
last_chunk_appended_(false) {
}
: identifier_(0), is_chunked_(false), last_chunk_appended_(false) {}
void UploadData::AppendBytes(const char* bytes, int bytes_len) {
DCHECK(!is_chunked_);
@@ -24,7 +21,8 @@ void UploadData::AppendBytes(const char* bytes, int bytes_len) {
}
void UploadData::AppendFileRange(const base::FilePath& file_path,
uint64_t offset, uint64_t length,
uint64_t offset,
uint64_t length,
const base::Time& expected_modification_time) {
DCHECK(!is_chunked_);
elements_.push_back(base::MakeUnique<UploadElement>());
@@ -32,7 +30,6 @@ void UploadData::AppendFileRange(const base::FilePath& file_path,
expected_modification_time);
}
UploadData::~UploadData() {
}
UploadData::~UploadData() {}
} // namespace net