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

Unified Diff: webkit/appcache/appcache_group.h

Issue 8673008: base::Bind: Implement CancelableCallback to replace CancelableTaske. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test 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 | « base/cancelable_callback_unittest.cc ('k') | webkit/appcache/appcache_group.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_group.h
diff --git a/webkit/appcache/appcache_group.h b/webkit/appcache/appcache_group.h
index 383ad54ef076e9d82761f1ceec554a11cd6c1950..75f2dcdc409509e29b77837182f927c36582ffa6 100644
--- a/webkit/appcache/appcache_group.h
+++ b/webkit/appcache/appcache_group.h
@@ -8,6 +8,7 @@
#include <map>
#include <vector>
+#include "base/cancelable_callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -146,7 +147,7 @@ class APPCACHE_EXPORT AppCacheGroup : public base::RefCounted<AppCacheGroup> {
// Updates that have been queued for the next run.
QueuedUpdates queued_updates_;
ObserverList<UpdateObserver> queued_observers_;
- CancelableTask* restart_update_task_;
+ base::CancelableCallback restart_update_task_;
scoped_ptr<HostObserver> host_observer_;
// True if we're in our destructor.
« no previous file with comments | « base/cancelable_callback_unittest.cc ('k') | webkit/appcache/appcache_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698