| Index: chrome/browser/dom_ui/most_visited_handler.cc
|
| diff --git a/chrome/browser/dom_ui/most_visited_handler.cc b/chrome/browser/dom_ui/most_visited_handler.cc
|
| index 5b4997354428e238ebf700275c3709fb802048da..6ec3113b009e4859df523e6ae0ee02c80c8cd096 100644
|
| --- a/chrome/browser/dom_ui/most_visited_handler.cc
|
| +++ b/chrome/browser/dom_ui/most_visited_handler.cc
|
| @@ -547,3 +547,13 @@ void MostVisitedHandler::RegisterUserPrefs(PrefService* prefs) {
|
| prefs->RegisterDictionaryPref(prefs::kNTPMostVisitedURLsBlacklist);
|
| prefs->RegisterDictionaryPref(prefs::kNTPMostVisitedPinnedURLs);
|
| }
|
| +
|
| +// static
|
| +std::vector<GURL> MostVisitedHandler::GetPrePopulatedUrls() {
|
| + const std::vector<MostVisitedPage> pages =
|
| + MostVisitedHandler::GetPrePopulatedPages();
|
| + std::vector<GURL> page_urls;
|
| + for (size_t i = 0; i < pages.size(); ++i)
|
| + page_urls.push_back(pages[i].url);
|
| + return page_urls;
|
| +}
|
|
|