Chromium Code Reviews| Index: components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.cc |
| diff --git a/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.cc b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..80a63efcdd802173a9678ff177f0ac8a8a3b8a4e |
| --- /dev/null |
| +++ b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.cc |
| @@ -0,0 +1,15 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h" |
| + |
| +#include "components/ntp_snippets/pref_names.h" |
| + |
| +namespace ntp_snippets { |
| +// static |
| +void BreakingNewsSuggestionsProvider::RegisterProfilePrefs( |
| + PrefRegistrySimple* registry) { |
| + registry->RegisterStringPref(prefs::kContentSuggestionsSubscriptionToken, ""); |
|
Bernhard Bauer
2017/06/05 10:19:39
Use an empty std::string() constructor instead of
mamir
2017/06/05 13:06:26
Done.
|
| +} |
| +} |