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 /webkit/appcache/view_appcache_internals_job.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 'webkit/appcache/view_appcache_internals_job.cc')
-rw-r--r-- | webkit/appcache/view_appcache_internals_job.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc index 8e5f32a..8e73052 100644 --- a/webkit/appcache/view_appcache_internals_job.cc +++ b/webkit/appcache/view_appcache_internals_job.cc @@ -315,7 +315,7 @@ class MainPageJob : public BaseInternalsJob { DCHECK(request_); info_collection_ = new AppCacheInfoCollection; gotinfo_complete_callback_ = - new net::CancelableCompletionCallback<MainPageJob>( + new net::CancelableOldCompletionCallback<MainPageJob>( this, &MainPageJob::OnGotInfoComplete); appcache_service_->GetAllAppCacheInfo( info_collection_, gotinfo_complete_callback_); @@ -365,7 +365,7 @@ class MainPageJob : public BaseInternalsJob { StartAsync(); } - scoped_refptr<net::CancelableCompletionCallback<MainPageJob> > + scoped_refptr<net::CancelableOldCompletionCallback<MainPageJob> > gotinfo_complete_callback_; scoped_refptr<AppCacheInfoCollection> info_collection_; DISALLOW_COPY_AND_ASSIGN(MainPageJob); @@ -402,7 +402,7 @@ class RemoveAppCacheJob : public RedirectToMainPageJob { virtual void Start() { DCHECK(request_); delete_appcache_callback_ = - new net::CancelableCompletionCallback<RemoveAppCacheJob>( + new net::CancelableOldCompletionCallback<RemoveAppCacheJob>( this, &RemoveAppCacheJob::OnDeleteAppCacheComplete); appcache_service_->DeleteAppCacheGroup( manifest_url_, delete_appcache_callback_); @@ -420,7 +420,7 @@ class RemoveAppCacheJob : public RedirectToMainPageJob { } GURL manifest_url_; - scoped_refptr<net::CancelableCompletionCallback<RemoveAppCacheJob> > + scoped_refptr<net::CancelableOldCompletionCallback<RemoveAppCacheJob> > delete_appcache_callback_; }; @@ -579,7 +579,7 @@ class ViewEntryJob : public BaseInternalsJob, scoped_refptr<net::IOBuffer> response_data_; int amount_read_; scoped_ptr<AppCacheResponseReader> reader_; - net::CompletionCallbackImpl<ViewEntryJob> read_callback_; + net::OldCompletionCallbackImpl<ViewEntryJob> read_callback_; }; } // namespace |