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..0333d014778b588ea13cc70373ee85a2bec3192e |
| --- /dev/null |
| +++ b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h |
| @@ -0,0 +1,22 @@ |
| +// 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 { |
| + |
| +class BreakingNewsSuggestionsProvider { |
|
fhorschig
2017/06/06 09:00:26
How about a class comment to describe what this pr
mamir
2017/06/06 14:05:23
Acknowledged.
|
| + public: |
| + static void RegisterProfilePrefs(PrefRegistrySimple* registry); |
|
fhorschig
2017/06/06 09:00:26
Are you absolutely sure you will use the pref you
mamir
2017/06/06 14:05:23
OK, I will remove to the manager.
|
| + |
| + private: |
| + DISALLOW_IMPLICIT_CONSTRUCTORS(BreakingNewsSuggestionsProvider); |
| +}; |
| + |
| +} // namespace ntp_snippets |
| +#endif // COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_ |