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 16 matching lines...) Expand all Loading... | |
| 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. | 34 // Pages recently browsed to on other devices. |
| 35 FOREIGN_TABS, | 35 FOREIGN_TABS, |
| 36 | 36 |
| 37 // Reading List entries available. | |
|
Marc Treib
2017/03/17 14:44:00
Pages that the user added to their reading list.
?
gambard
2017/03/20 08:32:39
Done.
| |
| 38 READING_LIST, | |
| 39 | |
| 37 // ****************** INSERT NEW LOCAL CATEGORIES HERE! ****************** | 40 // ****************** INSERT NEW LOCAL CATEGORIES HERE! ****************** |
| 38 // Existing categories are persisted and they must never be removed. This may | 41 // Existing categories are persisted and they must never be removed. This may |
| 39 // happen implicitly, e.g. when an older version without some local category | 42 // happen implicitly, e.g. when an older version without some local category |
| 40 // is installed. | 43 // is installed. |
| 41 | 44 |
| 42 // Follows the last local category. | 45 // Follows the last local category. |
| 43 LOCAL_CATEGORIES_COUNT, | 46 LOCAL_CATEGORIES_COUNT, |
| 44 | 47 |
| 45 // Remote categories come after this. | 48 // Remote categories come after this. |
| 46 REMOTE_CATEGORIES_OFFSET = 10000, | 49 REMOTE_CATEGORIES_OFFSET = 10000, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 | 106 |
| 104 struct Category::CompareByID { | 107 struct Category::CompareByID { |
| 105 bool operator()(const Category& left, const Category& right) const; | 108 bool operator()(const Category& left, const Category& right) const; |
| 106 }; | 109 }; |
| 107 | 110 |
| 108 std::ostream& operator<<(std::ostream& os, const Category& obj); | 111 std::ostream& operator<<(std::ostream& os, const Category& obj); |
| 109 | 112 |
| 110 } // namespace ntp_snippets | 113 } // namespace ntp_snippets |
| 111 | 114 |
| 112 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ | 115 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ |
| OLD | NEW |