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

Unified Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 1997473004: Snippets are enabled when search suggestions are enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ios. 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: components/ntp_snippets/ntp_snippets_service.h
diff --git a/components/ntp_snippets/ntp_snippets_service.h b/components/ntp_snippets/ntp_snippets_service.h
index e5aba948ca57a5f6701015caefbccbf0ef1916fa..4893c82a33755af8c756245034e35c4385422af2 100644
--- a/components/ntp_snippets/ntp_snippets_service.h
+++ b/components/ntp_snippets/ntp_snippets_service.h
@@ -54,6 +54,7 @@ class NTPSnippetsService : public KeyedService {
// the locale, so 'en_US' (English language with US locale) and 'en-GB_US'
// (British English person in the US) are not language codes.
NTPSnippetsService(
+ bool enabled,
PrefService* pref_service,
suggestions::SuggestionsService* suggestions_service,
scoped_refptr<base::SequencedTaskRunner> file_task_runner,
@@ -65,7 +66,7 @@ class NTPSnippetsService : public KeyedService {
static void RegisterProfilePrefs(PrefRegistrySimple* registry);
- void Init(bool enabled);
+ void Init();
// Inherited from KeyedService.
void Shutdown() override;

Powered by Google App Engine
This is Rietveld 408576698