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, |
| 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 come after this. | 40 // Remote categories come after this. |
38 REMOTE_CATEGORIES_OFFSET = 10000, | 41 REMOTE_CATEGORIES_OFFSET = 10000, |
39 | 42 |
40 // Articles for you. | 43 // Articles for you. |
41 ARTICLES, | 44 ARTICLES, |
42 }; | 45 }; |
43 | 46 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 78 |
76 struct Category::CompareByID { | 79 struct Category::CompareByID { |
77 bool operator()(const Category& left, const Category& right) const; | 80 bool operator()(const Category& left, const Category& right) const; |
78 }; | 81 }; |
79 | 82 |
80 std::ostream& operator<<(std::ostream& os, const Category& obj); | 83 std::ostream& operator<<(std::ostream& os, const Category& obj); |
81 | 84 |
82 } // namespace ntp_snippets | 85 } // namespace ntp_snippets |
83 | 86 |
84 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ | 87 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ |
OLD | NEW |