Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_NTP_SNIPPETS_SNIPPET_CATEGORY_TYPE_H_ | |
| 6 #define COMPONENTS_NTP_SNIPPETS_SNIPPET_CATEGORY_TYPE_H_ | |
| 7 | |
| 8 namespace ntp_snippets { | |
| 9 | |
| 10 // The category of a snippet. Note that even though these categories currently | |
| 11 // match the provider types, a provider type is not limited to provide snippets | |
| 12 // of a single (fixed) category only. The category is used to determine where | |
| 13 // and how to display the snippet. | |
|
Marc Treib
2016/06/13 15:11:10
"where" yes (as in, under which section), but not
Philipp Keck
2016/06/13 15:27:50
Done.
| |
| 14 enum class SnippetCategory : int { ARTICLE, OFFLINE_PAGE }; | |
| 15 | |
| 16 } // namespace ntp_snippets | |
| 17 | |
| 18 #endif // COMPONENTS_NTP_SNIPPETS_SNIPPET_CATEGORY_TYPE_H_ | |
| OLD | NEW |