diff --git a/AUTHORS b/AUTHORS index 1b608bc499d070..f71909b5fe911f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -582,6 +582,7 @@ Jaewon Jung Jaeyong Bae Jagadesh P Jagdish Chourasia +Jagdish Chourasia Jaime Soriano Pastor Jake Helfert Jake Hendy diff --git a/components/ntp_tiles/popular_sites.h b/components/ntp_tiles/popular_sites.h index 22999c9795d905..e8f79defbc5153 100644 --- a/components/ntp_tiles/popular_sites.h +++ b/components/ntp_tiles/popular_sites.h @@ -64,7 +64,6 @@ class PopularSites { virtual const std::map& sections() const = 0; // Various internals exposed publicly for diagnostic pages only. - virtual GURL GetLastURLFetched() const = 0; virtual GURL GetURLToFetch() = 0; virtual std::string GetDirectoryToFetch() = 0; virtual std::string GetCountryToFetch() = 0; diff --git a/components/ntp_tiles/popular_sites_impl.cc b/components/ntp_tiles/popular_sites_impl.cc index b77d8eed20ee7b..40ee3f00f092b5 100644 --- a/components/ntp_tiles/popular_sites_impl.cc +++ b/components/ntp_tiles/popular_sites_impl.cc @@ -356,10 +356,6 @@ PopularSitesImpl::sections() const { return sections_; } -GURL PopularSitesImpl::GetLastURLFetched() const { - return GURL(prefs_->GetString(prefs::kPopularSitesURLPref)); -} - GURL PopularSitesImpl::GetURLToFetch() { const std::string directory = GetDirectoryToFetch(); const std::string country = GetCountryToFetch(); diff --git a/components/ntp_tiles/popular_sites_impl.h b/components/ntp_tiles/popular_sites_impl.h index f213befd8c503d..378e083a3a66f1 100644 --- a/components/ntp_tiles/popular_sites_impl.h +++ b/components/ntp_tiles/popular_sites_impl.h @@ -52,7 +52,6 @@ class PopularSitesImpl : public PopularSites { // PopularSites implementation. bool MaybeStartFetch(bool force_download, FinishedCallback callback) override; const std::map& sections() const override; - GURL GetLastURLFetched() const override; GURL GetURLToFetch() override; std::string GetDirectoryToFetch() override; std::string GetCountryToFetch() override;