diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-01 20:38:10 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-01 20:38:10 +0000 |
commit | f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8 (patch) | |
tree | 6ccdd87ccfc89adbcb372c517559fa61fbc6c6b2 /net/disk_cache/disk_cache_perftest.cc | |
parent | d1666539b57bf8552e203d355fd09909d36f9732 (diff) | |
download | chromium_src-f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8.zip chromium_src-f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8.tar.gz chromium_src-f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8.tar.bz2 |
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
Diffstat (limited to 'net/disk_cache/disk_cache_perftest.cc')
-rw-r--r-- | net/disk_cache/disk_cache_perftest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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, |