| Index: chrome/browser/android/popular_sites.cc
|
| diff --git a/chrome/browser/android/popular_sites.cc b/chrome/browser/android/popular_sites.cc
|
| index 26a626890f74d51d2d00df2e81f952fa995ceeb3..3326c94dba0bad8f166a22b59b0eecb2de7538a4 100644
|
| --- a/chrome/browser/android/popular_sites.cc
|
| +++ b/chrome/browser/android/popular_sites.cc
|
| @@ -155,6 +155,7 @@ PopularSites::PopularSites(Profile* profile,
|
| const std::string& override_country,
|
| const std::string& override_version,
|
| const std::string& override_filename,
|
| + bool force_download,
|
| const FinishedCallback& callback)
|
| : callback_(callback), weak_ptr_factory_(this) {
|
| base::FilePath path = GetPopularSitesPath();
|
| @@ -164,7 +165,7 @@ PopularSites::PopularSites(Profile* profile,
|
| downloader_.reset(new FileDownloader(
|
| GetPopularSitesURL(
|
| profile, override_country, override_version, override_filename),
|
| - path, overwrite, profile->GetRequestContext(),
|
| + path, overwrite || force_download, profile->GetRequestContext(),
|
| base::Bind(&PopularSites::OnDownloadDone, base::Unretained(this), path)));
|
| overwrite = false;
|
| }
|
|
|