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

Unified Diff: webkit/appcache/mock_appcache_service.cc

Issue 8769024: base::Bind: Convert AppCacheHelper::DeleteAppCachesForOrigin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 9 years, 1 month 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
« no previous file with comments | « webkit/appcache/mock_appcache_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/mock_appcache_service.cc
diff --git a/webkit/appcache/mock_appcache_service.cc b/webkit/appcache/mock_appcache_service.cc
index d87f017988a0e398b29a613a7e645a04832919e7..56c66ba2a92e71fb2b807377a71a7f921d29b2ef 100644
--- a/webkit/appcache/mock_appcache_service.cc
+++ b/webkit/appcache/mock_appcache_service.cc
@@ -9,12 +9,13 @@
namespace appcache {
-static void DeferredCallCallback(net::OldCompletionCallback* callback, int rv) {
- callback->Run(rv);
+static void DeferredCallCallback(
+ const net::CompletionCallback& callback, int rv) {
+ callback.Run(rv);
}
void MockAppCacheService::DeleteAppCachesForOrigin(
- const GURL& origin, net::OldCompletionCallback* callback) {
+ const GURL& origin, const net::CompletionCallback& callback) {
++delete_called_count_;
MessageLoop::current()->PostTask(
FROM_HERE,
« no previous file with comments | « webkit/appcache/mock_appcache_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698