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

Unified Diff: chrome/browser/browsing_data_remover.h

Issue 9004051: Replace MessageLoop::DeleteSoon implementation with one that uses base::Bind. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final Created 9 years 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 | « chrome/browser/browsing_data_quota_helper.h ('k') | chrome/browser/chromeos/login/screen_locker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_remover.h
diff --git a/chrome/browser/browsing_data_remover.h b/chrome/browser/browsing_data_remover.h
index c445597a057b584c84379aebb6a18d05bf4c802f..9bc68d920bcf2885bc8086ecdb1ef9f5108d5945 100644
--- a/chrome/browser/browsing_data_remover.h
+++ b/chrome/browser/browsing_data_remover.h
@@ -9,6 +9,7 @@
#include <set>
#include "base/memory/ref_counted.h"
+#include "base/message_loop_helpers.h"
#include "base/observer_list.h"
#include "base/synchronization/waitable_event_watcher.h"
#include "base/time.h"
@@ -142,7 +143,7 @@ class BrowsingDataRemover : public content::NotificationObserver,
// BrowsingDataRemover deletes itself (using DeleteTask) and is not supposed
// to be deleted by other objects so make destructor private and DeleteTask
// a friend.
- friend class DeleteTask<BrowsingDataRemover>;
+ friend class base::DeleteHelper<BrowsingDataRemover>;
virtual ~BrowsingDataRemover();
// content::NotificationObserver method. Callback when TemplateURLService has
« no previous file with comments | « chrome/browser/browsing_data_quota_helper.h ('k') | chrome/browser/chromeos/login/screen_locker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698