Chromium Code Reviews| 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_CATEGORY_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ |
| 6 #define COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ |
| 7 | 7 |
| 8 #include <ostream> | 8 #include <ostream> |
| 9 | 9 |
| 10 namespace ntp_snippets { | 10 namespace ntp_snippets { |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 | 24 |
| 25 // Pages downloaded by the user for offline consumption. | 25 // Pages downloaded by the user for offline consumption. |
| 26 DOWNLOADS, | 26 DOWNLOADS, |
| 27 | 27 |
| 28 // Recently used bookmarks. | 28 // Recently used bookmarks. |
| 29 BOOKMARKS, | 29 BOOKMARKS, |
| 30 | 30 |
| 31 // Physical Web page available in the vicinity. | 31 // Physical Web page available in the vicinity. |
| 32 PHYSICAL_WEB_PAGES, | 32 PHYSICAL_WEB_PAGES, |
| 33 | 33 |
| 34 // Pages recently browsed to on other devices. | |
| 35 FOREIGN_TABS, | |
|
Marc Treib
2016/08/29 09:18:50
You should also add the new category in content_su
skym
2016/09/15 23:18:17
Done and Done.
| |
| 36 | |
| 34 // Follows the last local category. | 37 // Follows the last local category. |
| 35 LOCAL_CATEGORIES_COUNT, | 38 LOCAL_CATEGORIES_COUNT, |
| 36 | 39 |
| 37 REMOTE_CATEGORIES_OFFSET = 10000, | 40 REMOTE_CATEGORIES_OFFSET = 10000, |
| 38 | 41 |
| 39 // Articles for you. | 42 // Articles for you. |
| 40 ARTICLES, | 43 ARTICLES, |
| 41 }; | 44 }; |
| 42 | 45 |
| 43 // A category groups ContentSuggestions which belong together. Use the | 46 // A category groups ContentSuggestions which belong together. Use the |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 73 | 76 |
| 74 struct Category::CompareByID { | 77 struct Category::CompareByID { |
| 75 bool operator()(const Category& left, const Category& right) const; | 78 bool operator()(const Category& left, const Category& right) const; |
| 76 }; | 79 }; |
| 77 | 80 |
| 78 std::ostream& operator<<(std::ostream& os, const Category& obj); | 81 std::ostream& operator<<(std::ostream& os, const Category& obj); |
| 79 | 82 |
| 80 } // namespace ntp_snippets | 83 } // namespace ntp_snippets |
| 81 | 84 |
| 82 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ | 85 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ |
| OLD | NEW |