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

Unified Diff: chrome/browser/android/ntp/most_visited_sites_unittest.cc

Issue 1919823002: Update MostVisitedSites observer interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iMove move to .cc. Created 4 years, 8 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
Index: chrome/browser/android/ntp/most_visited_sites_unittest.cc
diff --git a/chrome/browser/android/ntp/most_visited_sites_unittest.cc b/chrome/browser/android/ntp/most_visited_sites_unittest.cc
index 6afdd8cf4a570484c6af58583f3b10c085c9c4d0..7a18c5ca3ec58e065ce73c21a62ce9eff4505a22 100644
--- a/chrome/browser/android/ntp/most_visited_sites_unittest.cc
+++ b/chrome/browser/android/ntp/most_visited_sites_unittest.cc
@@ -53,16 +53,16 @@ class MostVisitedSitesTest : public testing::Test {
const std::vector<bool>& old_sites_is_personal,
const std::vector<bool>& expected_sites_is_personal,
const std::vector<TitleURL>& expected_sites) {
- MostVisitedSites::SuggestionsVector personal_suggestions;
+ MostVisitedSites::SuggestionsPtrVector personal_suggestions;
for (const TitleURL& site : personal_sites)
personal_suggestions.push_back(MakeSuggestionFrom(site, true, false));
- MostVisitedSites::SuggestionsVector whitelist_suggestions;
+ MostVisitedSites::SuggestionsPtrVector whitelist_suggestions;
for (const TitleURL& site : whitelist_entry_points)
whitelist_suggestions.push_back(MakeSuggestionFrom(site, false, true));
- MostVisitedSites::SuggestionsVector popular_suggestions;
+ MostVisitedSites::SuggestionsPtrVector popular_suggestions;
for (const TitleURL& site : popular_sites)
popular_suggestions.push_back(MakeSuggestionFrom(site, false, false));
- MostVisitedSites::SuggestionsVector result_suggestions =
+ MostVisitedSites::SuggestionsPtrVector result_suggestions =
MostVisitedSites::MergeSuggestions(
&personal_suggestions, &whitelist_suggestions, &popular_suggestions,
old_sites_url, old_sites_is_personal);

Powered by Google App Engine
This is Rietveld 408576698