summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_backend.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 23:39:42 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 23:39:42 +0000
commitd3b129003402bb0f37d0f22803efa1960bee90a3 (patch)
tree3f6d62d040162549f699df4f67ac6368b4f6edf4 /chrome/browser/history/history_backend.cc
parenteb997422bde4133da7db0e1e3ff82d18890de218 (diff)
downloadchromium_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_backend.cc')
-rw-r--r--chrome/browser/history/history_backend.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 1c58f74..91aba75 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -1126,17 +1126,6 @@ void HistoryBackend::RemoveDownloadsBetween(const Time remove_begin,
db_->RemoveDownloadsBetween(remove_begin, remove_end);
}
-void HistoryBackend::SearchDownloads(
- scoped_refptr<DownloadSearchRequest> request,
- const string16& search_text) {
- if (request->canceled())
- return;
- if (db_.get())
- db_->SearchDownloads(&request->value, search_text);
- request->ForwardResult(DownloadSearchRequest::TupleType(request->handle(),
- &request->value));
-}
-
void HistoryBackend::QueryHistory(scoped_refptr<QueryHistoryRequest> request,
const string16& text_query,
const QueryOptions& options) {