Index: chrome/browser/autocomplete/network_action_predictor_unittest.cc |
=================================================================== |
--- chrome/browser/autocomplete/network_action_predictor_unittest.cc (revision 132078) |
+++ chrome/browser/autocomplete/network_action_predictor_unittest.cc (working copy) |
@@ -170,8 +170,8 @@ |
predictor_->DeleteAllRows(); |
} |
- void DeleteRowsWithURLs(const std::set<GURL>& urls) { |
- predictor_->DeleteRowsWithURLs(urls); |
+ void DeleteRowsWithURLs(const history::URLRows& rows) { |
+ predictor_->DeleteRowsWithURLs(rows); |
} |
void DeleteOldIdsFromCaches( |
@@ -278,11 +278,11 @@ |
EXPECT_EQ(arraysize(test_url_db), db_cache()->size()); |
EXPECT_EQ(arraysize(test_url_db), db_id_cache()->size()); |
- std::set<GURL> urls; |
+ history::URLRows rows; |
for (size_t i = 0; i < 2; ++i) |
- urls.insert(test_url_db[i].url); |
+ rows.push_back(history::URLRow(test_url_db[i].url)); |
- DeleteRowsWithURLs(urls); |
+ DeleteRowsWithURLs(rows); |
EXPECT_EQ(arraysize(test_url_db) - 2, db_cache()->size()); |
EXPECT_EQ(arraysize(test_url_db) - 2, db_id_cache()->size()); |