Chromium Code Reviews| Index: components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h |
| diff --git a/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bae5bef54ad24ffdc51a55f6b987a3a1e68b040d |
| --- /dev/null |
| +++ b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h |
| @@ -0,0 +1,17 @@ |
| +// 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. |
| + |
| +#ifndef COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_ |
| +#define COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_ |
| + |
| +#include "components/prefs/pref_registry_simple.h" |
| +class PrefRegistrySimple; |
| + |
| +namespace ntp_snippets { |
|
Bernhard Bauer
2017/06/05 10:19:39
Nit: Leave empty lines inside the namespace?
mamir
2017/06/05 13:06:26
Done.
|
| +class BreakingNewsSuggestionsProvider { |
|
Bernhard Bauer
2017/06/05 10:19:40
Is this class going to get more methods? In any ca
mamir
2017/06/05 13:06:26
Yes, it's going to get more methods.
Done!
|
| + public: |
| + static void RegisterProfilePrefs(PrefRegistrySimple* registry); |
| +}; |
| +} // namespace ntp_snippets |
| +#endif // COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_ |