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

Unified Diff: net/http/disk_cache_based_quic_server_info.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/disk_cache_based_quic_server_info.cc
diff --git a/net/http/disk_cache_based_quic_server_info.cc b/net/http/disk_cache_based_quic_server_info.cc
index 4cf036de3ba8f70e779b82f714a8486d82ee3671..65cf35df3f5f6467c633130cda4dd908e5201489 100644
--- a/net/http/disk_cache_based_quic_server_info.cc
+++ b/net/http/disk_cache_based_quic_server_info.cc
@@ -49,10 +49,9 @@ DiskCacheBasedQuicServerInfo::DiskCacheBasedQuicServerInfo(
: QuicServerInfo(server_id),
weak_factory_(this),
data_shim_(new CacheOperationDataShim()),
- io_callback_(
- base::Bind(&DiskCacheBasedQuicServerInfo::OnIOComplete,
- weak_factory_.GetWeakPtr(),
- base::Owned(data_shim_))), // Ownership assigned.
+ io_callback_(base::Bind(&DiskCacheBasedQuicServerInfo::OnIOComplete,
+ weak_factory_.GetWeakPtr(),
+ base::Owned(data_shim_))), // Ownership assigned.
state_(GET_BACKEND),
ready_(false),
found_entry_(false),
@@ -255,9 +254,12 @@ int DiskCacheBasedQuicServerInfo::DoWrite() {
memcpy(write_buffer_->data(), new_data_.data(), new_data_.size());
state_ = WRITE_COMPLETE;
- return entry_->WriteData(
- 0 /* index */, 0 /* offset */, write_buffer_, new_data_.size(),
- io_callback_, true /* truncate */);
+ return entry_->WriteData(0 /* index */,
+ 0 /* offset */,
+ write_buffer_,
+ new_data_.size(),
+ io_callback_,
+ true /* truncate */);
}
int DiskCacheBasedQuicServerInfo::DoCreateOrOpen() {

Powered by Google App Engine
This is Rietveld 408576698