Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: components/ntp_snippets/category.h

Issue 2228553003: a provider of Physical Web pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolved compile error. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/ntp_snippets/BUILD.gn ('k') | components/ntp_snippets/category_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10 matching lines...) Expand all
21 enum class KnownCategories { 21 enum class KnownCategories {
22 // Pages recently downloaded during normal navigation. 22 // Pages recently downloaded during normal navigation.
23 RECENT_TABS, 23 RECENT_TABS,
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.
32 PHYSICAL_WEB_PAGES,
33
31 // Follows the last local category. 34 // Follows the last local category.
32 LOCAL_CATEGORIES_COUNT, 35 LOCAL_CATEGORIES_COUNT,
33 36
34 REMOTE_CATEGORIES_OFFSET = 10000, 37 REMOTE_CATEGORIES_OFFSET = 10000,
35 38
36 // Articles for you. 39 // Articles for you.
37 ARTICLES, 40 ARTICLES,
38 }; 41 };
39 42
40 // A category groups ContentSuggestions which belong together. Use the 43 // A category groups ContentSuggestions which belong together. Use the
(...skipping 29 matching lines...) Expand all
70 73
71 struct Category::CompareByID { 74 struct Category::CompareByID {
72 bool operator()(const Category& left, const Category& right) const; 75 bool operator()(const Category& left, const Category& right) const;
73 }; 76 };
74 77
75 std::ostream& operator<<(std::ostream& os, const Category& obj); 78 std::ostream& operator<<(std::ostream& os, const Category& obj);
76 79
77 } // namespace ntp_snippets 80 } // namespace ntp_snippets
78 81
79 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_ 82 #endif // COMPONENTS_NTP_SNIPPETS_CATEGORY_H_
OLDNEW
« no previous file with comments | « components/ntp_snippets/BUILD.gn ('k') | components/ntp_snippets/category_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698