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

Unified Diff: chrome/browser/android/ntp/popular_sites.cc

Issue 1997453003: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Java file Created 4 years, 7 months 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: chrome/browser/android/ntp/popular_sites.cc
diff --git a/chrome/browser/android/ntp/popular_sites.cc b/chrome/browser/android/ntp/popular_sites.cc
index 0c065c033714494d6601edc00b326ebb34ea42b9..a9fdd7685ba3195ad483f304153e4341e8174011 100644
--- a/chrome/browser/android/ntp/popular_sites.cc
+++ b/chrome/browser/android/ntp/popular_sites.cc
@@ -196,7 +196,6 @@ PopularSites::PopularSites(PrefService* prefs,
bool force_download,
const FinishedCallback& callback)
: PopularSites(prefs,
- template_url_service,
download_context,
directory,
GetCountryToUse(prefs,
@@ -209,13 +208,11 @@ PopularSites::PopularSites(PrefService* prefs,
callback) {}
PopularSites::PopularSites(PrefService* prefs,
- const TemplateURLService* template_url_service,
net::URLRequestContextGetter* download_context,
const base::FilePath& directory,
const GURL& url,
const FinishedCallback& callback)
: PopularSites(prefs,
- template_url_service,
download_context,
directory,
std::string(),
@@ -248,7 +245,6 @@ void PopularSites::RegisterProfilePrefs(
}
PopularSites::PopularSites(PrefService* prefs,
- const TemplateURLService* template_url_service,
net::URLRequestContextGetter* download_context,
const base::FilePath& directory,
const std::string& country,
@@ -264,7 +260,6 @@ PopularSites::PopularSites(PrefService* prefs,
? base::FilePath()
: directory.AppendASCII(kPopularSitesLocalFilename)),
prefs_(prefs),
- template_url_service_(template_url_service),
download_context_(download_context),
runner_(
BrowserThread::GetBlockingPool()->GetTaskRunnerWithShutdownBehavior(

Powered by Google App Engine
This is Rietveld 408576698