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

Unified Diff: chrome/browser/download/download_history.h

Issue 7053004: Fix leak of callback object in r86518. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/download/download_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_history.h
===================================================================
--- chrome/browser/download/download_history.h (revision 86537)
+++ chrome/browser/download/download_history.h (working copy)
@@ -34,7 +34,8 @@
// Retrieves DownloadCreateInfos saved in the history.
void Load(HistoryService::DownloadQueryCallback* callback);
- // Checks whether |referrer_url| has been visited before today.
+ // Checks whether |referrer_url| has been visited before today. This takes
+ // ownership of |callback|.
void CheckVisitedReferrerBefore(int32 download_id,
const GURL& referrer_url,
VisitedBeforeDoneCallback* callback);
« no previous file with comments | « no previous file | chrome/browser/download/download_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698