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

Unified Diff: trunk/src/chrome/browser/history/history_service.h

Issue 416543006: Revert 284958 "Make HistoryDBTask not refcounted, and ensure it'..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months 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
Index: trunk/src/chrome/browser/history/history_service.h
===================================================================
--- trunk/src/chrome/browser/history/history_service.h (revision 285001)
+++ trunk/src/chrome/browser/history/history_service.h (working copy)
@@ -443,8 +443,8 @@
// Generic Stuff -------------------------------------------------------------
// Schedules a HistoryDBTask for running on the history backend thread. See
- // HistoryDBTask for details on what this does. Takes ownership of |task|.
- virtual void ScheduleDBTask(scoped_ptr<history::HistoryDBTask> task,
+ // HistoryDBTask for details on what this does.
+ virtual void ScheduleDBTask(scoped_refptr<history::HistoryDBTask> task,
base::CancelableTaskTracker* tracker);
// Adds or removes observers for the VisitDatabase.
« no previous file with comments | « trunk/src/chrome/browser/history/history_db_task.h ('k') | trunk/src/chrome/browser/history/history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698