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

Side by Side Diff: components/ntp_snippets/features.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/category_factory.cc ('k') | components/ntp_snippets/features.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_FEATURES_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_FEATURES_H_
6 #define COMPONENTS_NTP_SNIPPETS_FEATURES_H_ 6 #define COMPONENTS_NTP_SNIPPETS_FEATURES_H_
7 7
8 #include "base/feature_list.h" 8 #include "base/feature_list.h"
9 9
10 namespace ntp_snippets { 10 namespace ntp_snippets {
11 11
12 // Features to turn individual providers/categories on/off. 12 // Features to turn individual providers/categories on/off.
13 extern const base::Feature kArticleSuggestionsFeature; 13 extern const base::Feature kArticleSuggestionsFeature;
14 extern const base::Feature kBookmarkSuggestionsFeature; 14 extern const base::Feature kBookmarkSuggestionsFeature;
15 extern const base::Feature kRecentOfflineTabSuggestionsFeature; 15 extern const base::Feature kRecentOfflineTabSuggestionsFeature;
16 extern const base::Feature kDownloadSuggestionsFeature; 16 extern const base::Feature kDownloadSuggestionsFeature;
17 extern const base::Feature kPhysicalWebPageSuggestionsFeature;
17 18
18 // Feature to allow the 'save to offline' option to appear in the snippets 19 // Feature to allow the 'save to offline' option to appear in the snippets
19 // context menu. 20 // context menu.
20 extern const base::Feature kSaveToOfflineFeature; 21 extern const base::Feature kSaveToOfflineFeature;
21 22
22 // Global toggle for the whole content suggestions feature. If this is set to 23 // Global toggle for the whole content suggestions feature. If this is set to
23 // false, all the per-provider features are ignored. 24 // false, all the per-provider features are ignored.
24 extern const base::Feature kContentSuggestionsFeature; 25 extern const base::Feature kContentSuggestionsFeature;
25 26
26 } // namespace ntp_snippets 27 } // namespace ntp_snippets
27 28
28 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_ 29 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_
OLDNEW
« no previous file with comments | « components/ntp_snippets/category_factory.cc ('k') | components/ntp_snippets/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698