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_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 on/off. | 12 // Features to turn individual providers 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 kOfflinePageSuggestionsFeature; |
15 | 16 |
16 // Global toggle for the whole content suggestions feature. If this is set to | 17 // Global toggle for the whole content suggestions feature. If this is set to |
17 // false, all the per-provider features are ignored. | 18 // false, all the per-provider features are ignored. |
18 extern const base::Feature kContentSuggestionsFeature; | 19 extern const base::Feature kContentSuggestionsFeature; |
19 | 20 |
20 } // namespace ntp_snippets | 21 } // namespace ntp_snippets |
21 | 22 |
22 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_ | 23 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_ |
OLD | NEW |