[Code Health] Code clean up
Code was not getting called from anywhere. Removed the same. Change-Id: I2122251cfbaa4cdd77d24e265fee31e35072f0b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5526229 Reviewed-by: Ted Choc <tedchoc@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1299320}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
85226c1759
commit
8c71392e46
1
AUTHORS
1
AUTHORS
@ -582,6 +582,7 @@ Jaewon Jung <jw.jung@navercorp.com>
|
||||
Jaeyong Bae <jdragon.bae@gmail.com>
|
||||
Jagadesh P <jagadeshjai1999@gmail.com>
|
||||
Jagdish Chourasia <jagdish.c@samsung.com>
|
||||
Jagdish Chourasia <jagdish.jnu08@gmail.com>
|
||||
Jaime Soriano Pastor <jsorianopastor@gmail.com>
|
||||
Jake Helfert <jake@helfert.us>
|
||||
Jake Hendy <me@jakehendy.com>
|
||||
|
@ -64,7 +64,6 @@ class PopularSites {
|
||||
virtual const std::map<SectionType, SitesVector>& 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;
|
||||
|
@ -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();
|
||||
|
@ -52,7 +52,6 @@ class PopularSitesImpl : public PopularSites {
|
||||
// PopularSites implementation.
|
||||
bool MaybeStartFetch(bool force_download, FinishedCallback callback) override;
|
||||
const std::map<SectionType, SitesVector>& sections() const override;
|
||||
GURL GetLastURLFetched() const override;
|
||||
GURL GetURLToFetch() override;
|
||||
std::string GetDirectoryToFetch() override;
|
||||
std::string GetCountryToFetch() override;
|
||||
|
Reference in New Issue
Block a user