| 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() {
|
|
|