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

Unified Diff: components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc

Issue 2570783003: [Popular Sites] Split PopularSites interface and PopularSitesImpl (Closed)
Patch Set: Rebased and minor naming change. Created 4 years 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: components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc
diff --git a/components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc b/components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc
index d10a6c05fc90af73deeee19ac03b6fa07ea3ad16..4dce944c2442d3d0334c869d55c90f57fda900dc 100644
--- a/components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc
+++ b/components/ntp_tiles/webui/ntp_tiles_internals_message_handler.cc
@@ -110,9 +110,9 @@ void NTPTilesInternalsMessageHandler::SendSourceInfo() {
if (client_->DoesSourceExist(NTPTileSource::POPULAR)) {
auto popular_sites = client_->MakePopularSites();
- value.SetString("popular.url", popular_sites->GetURLToUse().spec());
- value.SetString("popular.country", popular_sites->GetCountryToUse());
- value.SetString("popular.version", popular_sites->GetVersionToUse());
+ value.SetString("popular.url", popular_sites->GetURLToFetch().spec());
+ value.SetString("popular.country", popular_sites->GetCountryToFetch());
+ value.SetString("popular.version", popular_sites->GetVersionToFetch());
value.SetString(
"popular.overrideURL",
« no previous file with comments | « components/ntp_tiles/popular_sites_unittest.cc ('k') | components/ntp_tiles/webui/popular_sites_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698