diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-16 23:39:42 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-16 23:39:42 +0000 |
commit | d3b129003402bb0f37d0f22803efa1960bee90a3 (patch) | |
tree | 3f6d62d040162549f699df4f67ac6368b4f6edf4 /chrome/browser/history/history.h | |
parent | eb997422bde4133da7db0e1e3ff82d18890de218 (diff) | |
download | chromium_src-d3b129003402bb0f37d0f22803efa1960bee90a3.zip chromium_src-d3b129003402bb0f37d0f22803efa1960bee90a3.tar.gz chromium_src-d3b129003402bb0f37d0f22803efa1960bee90a3.tar.bz2 |
Regression fix: Downloads page in Incognito mode works fine now.
Additionally, it fixes another ancient bug that prevented downloads search
from working in Incognito mode.
The design of DownloadHistory is also nicer now, with no dependencies
on DownloadManager.
TEST=see bug
BUG=51955
Review URL: http://codereview.chromium.org/3112011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.h')
-rw-r--r-- | chrome/browser/history/history.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h index bec532a..c142c97 100644 --- a/chrome/browser/history/history.h +++ b/chrome/browser/history/history.h @@ -445,15 +445,6 @@ class HistoryService : public CancelableRequestProvider, // both directions. void RemoveDownloadsBetween(base::Time remove_begin, base::Time remove_end); - // Implemented by the caller of 'SearchDownloads' below, and is called when - // the history system has retrieved the search results. - typedef Callback2<Handle, std::vector<int64>*>::Type DownloadSearchCallback; - - // Search for downloads that match the search text. - Handle SearchDownloads(const string16& search_text, - CancelableRequestConsumerBase* consumer, - DownloadSearchCallback* callback); - // Visit Segments ------------------------------------------------------------ typedef Callback2<Handle, std::vector<PageUsageData*>*>::Type |