OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTION_CATEGORY_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTION_CATEGORY_H_ |
6 #define COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTION_CATEGORY_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTION_CATEGORY_H_ |
7 | 7 |
8 namespace ntp_snippets { | 8 namespace ntp_snippets { |
9 | 9 |
10 // The category of a content suggestion. Note that even though these categories | 10 // The category of a content suggestion. The category is used to determine where |
11 // currently match the provider types, a provider type is not limited to provide | 11 // to display the suggestion. |
12 // suggestions of a single (fixed) category only. The category is used to | 12 enum class ContentSuggestionCategory : int { ARTICLE, COUNT }; |
13 // determine where to display the suggestion. | |
14 enum class ContentSuggestionCategory : int { ARTICLE }; | |
15 | 13 |
16 } // namespace ntp_snippets | 14 } // namespace ntp_snippets |
17 | 15 |
18 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTION_CATEGORY_H_ | 16 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTION_CATEGORY_H_ |
OLD | NEW |