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

Unified Diff: net/disk_cache/disk_cache_test_util.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/disk_cache/disk_cache_test_util.cc
diff --git a/net/disk_cache/disk_cache_test_util.cc b/net/disk_cache/disk_cache_test_util.cc
index 3f69492b79d5277a84dbb2d05af540870ab2e4dd..8a5e85fd0f4b781a50fd9a572fdead08dbf8668b 100644
--- a/net/disk_cache/disk_cache_test_util.cc
+++ b/net/disk_cache/disk_cache_test_util.cc
@@ -59,7 +59,8 @@ bool DeleteCache(const base::FilePath& path) {
return true;
}
-bool CheckCacheIntegrity(const base::FilePath& path, bool new_eviction,
+bool CheckCacheIntegrity(const base::FilePath& path,
+ bool new_eviction,
uint32 mask) {
scoped_ptr<disk_cache::BackendImpl> cache(new disk_cache::BackendImpl(
path, mask, base::MessageLoopProxy::current().get(), NULL));
@@ -94,7 +95,9 @@ bool MessageLoopHelper::WaitUntilCacheIoFinished(int num_callbacks) {
ExpectCallbacks(num_callbacks);
// Create a recurrent timer of 50 mS.
if (!timer_.IsRunning())
- timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(50), this,
+ timer_.Start(FROM_HERE,
+ TimeDelta::FromMilliseconds(50),
+ this,
&MessageLoopHelper::TimerExpired);
base::MessageLoop::current()->Run();
return completed_;
@@ -120,10 +123,8 @@ void MessageLoopHelper::TimerExpired() {
// -----------------------------------------------------------------------
-CallbackTest::CallbackTest(MessageLoopHelper* helper,
- bool reuse)
- : helper_(helper),
- reuse_(reuse ? 0 : 1) {
+CallbackTest::CallbackTest(MessageLoopHelper* helper, bool reuse)
+ : helper_(helper), reuse_(reuse ? 0 : 1) {
}
CallbackTest::~CallbackTest() {

Powered by Google App Engine
This is Rietveld 408576698