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

Unified Diff: chrome/browser/android/ntp_snippets_controller.cc

Issue 1756443002: [NTP Snippets] Fetcher: remove |overwrite| param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@snippets_expire
Patch Set: fix test Created 4 years, 10 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_snippets_controller.cc
diff --git a/chrome/browser/android/ntp_snippets_controller.cc b/chrome/browser/android/ntp_snippets_controller.cc
index a252d52d1c50b2199726775a7bb12d674dd4a4dd..83f14554e4b66eb3b7e67a51ffcfdd3159463962 100644
--- a/chrome/browser/android/ntp_snippets_controller.cc
+++ b/chrome/browser/android/ntp_snippets_controller.cc
@@ -18,13 +18,12 @@ using base::android::JavaParamRef;
static void FetchSnippets(JNIEnv* env,
const JavaParamRef<jobject>& obj,
- const JavaParamRef<jobject>& jprofile,
- jboolean overwrite) {
+ const JavaParamRef<jobject>& jprofile) {
Profile* profile = ProfileAndroid::FromProfileAndroid(jprofile);
if (profile) {
ntp_snippets::NTPSnippetsService* ntp_snippets_service =
NTPSnippetsServiceFactory::GetForProfile(profile);
- ntp_snippets_service->FetchSnippets(overwrite);
+ ntp_snippets_service->FetchSnippets();
}
}

Powered by Google App Engine
This is Rietveld 408576698