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

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

Issue 2914213002: Delete the NTPPreferAmpUrls feature flag. (Closed)
Patch Set: Rebase. Created 3 years, 6 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 | « no previous file | 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 // TODO(jkrcal): Rename to kRemoteSuggestionsFeature. 30 // TODO(jkrcal): Rename to kRemoteSuggestionsFeature.
31 extern const base::Feature kArticleSuggestionsFeature; 31 extern const base::Feature kArticleSuggestionsFeature;
32 extern const base::Feature kBookmarkSuggestionsFeature; 32 extern const base::Feature kBookmarkSuggestionsFeature;
33 extern const base::Feature kRecentOfflineTabSuggestionsFeature; 33 extern const base::Feature kRecentOfflineTabSuggestionsFeature;
34 extern const base::Feature kPhysicalWebPageSuggestionsFeature; 34 extern const base::Feature kPhysicalWebPageSuggestionsFeature;
35 extern const base::Feature kForeignSessionsSuggestionsFeature; 35 extern const base::Feature kForeignSessionsSuggestionsFeature;
36 36
37 // Feature to allow UI as specified here: https://crbug.com/660837. 37 // Feature to allow UI as specified here: https://crbug.com/660837.
38 extern const base::Feature kIncreasedVisibility; 38 extern const base::Feature kIncreasedVisibility;
39 39
40 // Feature to prefer AMP URLs over regular URLs when available.
41 extern const base::Feature kPreferAmpUrlsFeature;
42
43 // Feature to listen for GCM push updates from the server. 40 // Feature to listen for GCM push updates from the server.
44 extern const base::Feature kContentSuggestionsPushFeature; 41 extern const base::Feature kContentSuggestionsPushFeature;
45 42
46 // Feature to choose a category ranker. 43 // Feature to choose a category ranker.
47 extern const base::Feature kCategoryRanker; 44 extern const base::Feature kCategoryRanker;
48 45
49 // Feature to allow the new Google favicon server for fetching publisher icons. 46 // Feature to allow the new Google favicon server for fetching publisher icons.
50 extern const base::Feature kPublisherFaviconsFromNewServerFeature; 47 extern const base::Feature kPublisherFaviconsFromNewServerFeature;
51 48
52 // Parameter and its values for the kCategoryRanker feature flag. 49 // Parameter and its values for the kCategoryRanker feature flag.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 constexpr int kNotificationsDefaultDailyLimit = 1; 109 constexpr int kNotificationsDefaultDailyLimit = 1;
113 110
114 // An integer. The number of notifications that can be ignored. If the user 111 // An integer. The number of notifications that can be ignored. If the user
115 // ignores this many notifications or more, we stop sending them. 112 // ignores this many notifications or more, we stop sending them.
116 extern const char kNotificationsIgnoredLimitParam[]; 113 extern const char kNotificationsIgnoredLimitParam[];
117 constexpr int kNotificationsIgnoredDefaultLimit = 3; 114 constexpr int kNotificationsIgnoredDefaultLimit = 3;
118 115
119 } // namespace ntp_snippets 116 } // namespace ntp_snippets
120 117
121 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_ 118 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_
OLDNEW
« no previous file with comments | « no previous file | components/ntp_snippets/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698