From f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Sat, 1 Oct 2011 20:38:10 +0000 Subject: Begin CompletionCallback switchover. Rename CompletionCallback to OldCompletionCallback in preparation for introducing a new CompletionCallback based on base::Callback. Also renames other CompletionCallback types like CancelableCompletionCallback and TestCompletionCallback and CompletionCallbackImpl. All using sed with s/CompletionCallback/OldCompletionCallback/g. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8070013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103650 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/disk_cache_perftest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/disk_cache/disk_cache_perftest.cc') diff --git a/net/disk_cache/disk_cache_perftest.cc b/net/disk_cache/disk_cache_perftest.cc index 2adc29b..4bf46f7 100644 --- a/net/disk_cache/disk_cache_perftest.cc +++ b/net/disk_cache/disk_cache_perftest.cc @@ -61,7 +61,7 @@ bool TimeWrite(int num_entries, disk_cache::Backend* cache, entries->push_back(entry); disk_cache::Entry* cache_entry; - TestCompletionCallback cb; + TestOldCompletionCallback cb; int rv = cache->CreateEntry(entry.key, &cache_entry, &cb); if (net::OK != cb.GetResult(rv)) break; @@ -107,7 +107,7 @@ bool TimeRead(int num_entries, disk_cache::Backend* cache, for (int i = 0; i < num_entries; i++) { disk_cache::Entry* cache_entry; - TestCompletionCallback cb; + TestOldCompletionCallback cb; int rv = cache->OpenEntry(entries[i].key, &cache_entry, &cb); if (net::OK != cb.GetResult(rv)) break; @@ -158,7 +158,7 @@ TEST_F(DiskCacheTest, CacheBackendPerformance) { base::Thread::Options(MessageLoop::TYPE_IO, 0))); ScopedTestCache test_cache; - TestCompletionCallback cb; + TestOldCompletionCallback cb; disk_cache::Backend* cache; int rv = disk_cache::CreateCacheBackend( net::DISK_CACHE, test_cache.path(), 0, false, -- cgit v1.1