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

Unified Diff: net/tools/dump_cache/simple_cache_dumper.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/tools/dump_cache/simple_cache_dumper.cc
diff --git a/net/tools/dump_cache/simple_cache_dumper.cc b/net/tools/dump_cache/simple_cache_dumper.cc
index 56162ca3e10905e2e327ea3a807f20519047d947..d16125330089c37549ce46a946104f29ed5e3486 100644
--- a/net/tools/dump_cache/simple_cache_dumper.cc
+++ b/net/tools/dump_cache/simple_cache_dumper.cc
@@ -29,8 +29,8 @@ SimpleCacheDumper::SimpleCacheDumper(base::FilePath input_path,
iter_(NULL),
src_entry_(NULL),
dst_entry_(NULL),
- io_callback_(base::Bind(&SimpleCacheDumper::OnIOComplete,
- base::Unretained(this))),
+ io_callback_(
+ base::Bind(&SimpleCacheDumper::OnIOComplete, base::Unretained(this))),
rv_(0) {
}
@@ -139,8 +139,8 @@ int SimpleCacheDumper::DoCreateCacheComplete(int rv) {
return rv;
reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())->SetUpgradeMode();
- reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())->SetFlags(
- disk_cache::kNoRandom);
+ reinterpret_cast<disk_cache::BackendImpl*>(cache_.get())
+ ->SetFlags(disk_cache::kNoRandom);
state_ = STATE_OPEN_ENTRY;
return OK;
@@ -171,8 +171,7 @@ int SimpleCacheDumper::DoCreateEntry() {
DCHECK(!dst_entry_);
state_ = STATE_CREATE_ENTRY_COMPLETE;
- return writer_->CreateEntry(src_entry_->GetKey(), &dst_entry_,
- io_callback_);
+ return writer_->CreateEntry(src_entry_->GetKey(), &dst_entry_, io_callback_);
}
int SimpleCacheDumper::DoCreateEntryComplete(int rv) {

Powered by Google App Engine
This is Rietveld 408576698