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

Unified Diff: chrome/browser/history/history_backend_unittest.cc

Issue 352623002: Port History::QueryMostVisitedURLs to use CancelableTaskTracker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend_unittest.cc
diff --git a/chrome/browser/history/history_backend_unittest.cc b/chrome/browser/history/history_backend_unittest.cc
index 924b2605144f01a63944bd17c4ab6145bef32235..f7f9ea9e0117430027c98991210d0133c016894d 100644
--- a/chrome/browser/history/history_backend_unittest.cc
+++ b/chrome/browser/history/history_backend_unittest.cc
@@ -220,12 +220,6 @@ class HistoryBackendTest : public HistoryBackendTestBase {
HistoryBackendTest() {}
virtual ~HistoryBackendTest() {}
- // Callback for QueryMostVisited.
- void OnQueryMostVisited(CancelableRequestProvider::Handle handle,
- history::MostVisitedURLList data) {
- most_visited_list_.swap(data);
- }
-
// Callback for QueryFiltered.
void OnQueryFiltered(CancelableRequestProvider::Handle handle,
const history::FilteredURLList& data) {
@@ -233,10 +227,6 @@ class HistoryBackendTest : public HistoryBackendTestBase {
}
protected:
- const history::MostVisitedURLList& get_most_visited_list() const {
- return most_visited_list_;
- }
-
const history::FilteredURLList& get_filtered_list() const {
return filtered_list_;
}
@@ -437,7 +427,6 @@ class HistoryBackendTest : public HistoryBackendTestBase {
}
private:
- history::MostVisitedURLList most_visited_list_;
history::FilteredURLList filtered_list_;
DISALLOW_COPY_AND_ASSIGN(HistoryBackendTest);
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698