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

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

Issue 2781603002: [Content suggestions] Add a feature to fetch favicons from a new server (Closed)
Patch Set: Add histogram.xml LoginCustomFlags entries Created 3 years, 8 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 | « chrome/browser/flag_descriptions.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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 // Feature to allow UI as specified here: https://crbug.com/660837. 36 // Feature to allow UI as specified here: https://crbug.com/660837.
37 extern const base::Feature kIncreasedVisibility; 37 extern const base::Feature kIncreasedVisibility;
38 38
39 // Feature to prefer AMP URLs over regular URLs when available. 39 // Feature to prefer AMP URLs over regular URLs when available.
40 extern const base::Feature kPreferAmpUrlsFeature; 40 extern const base::Feature kPreferAmpUrlsFeature;
41 41
42 // Feature to choose a category ranker. 42 // Feature to choose a category ranker.
43 extern const base::Feature kCategoryRanker; 43 extern const base::Feature kCategoryRanker;
44 44
45 // Feature to allow the new Google favicon server for fetching publisher icons.
46 extern const base::Feature kPublisherFaviconsFromNewServerFeature;
47
45 // Parameter and its values for the kCategoryRanker feature flag. 48 // Parameter and its values for the kCategoryRanker feature flag.
46 extern const char kCategoryRankerParameter[]; 49 extern const char kCategoryRankerParameter[];
47 extern const char kCategoryRankerConstantRanker[]; 50 extern const char kCategoryRankerConstantRanker[];
48 extern const char kCategoryRankerClickBasedRanker[]; 51 extern const char kCategoryRankerClickBasedRanker[];
49 52
50 enum class CategoryRankerChoice { 53 enum class CategoryRankerChoice {
51 CONSTANT, 54 CONSTANT,
52 CLICK_BASED, 55 CLICK_BASED,
53 }; 56 };
54 57
(...skipping 17 matching lines...) Expand all
72 GENERAL, 75 GENERAL,
73 EMERGING_MARKETS_ORIENTED, 76 EMERGING_MARKETS_ORIENTED,
74 }; 77 };
75 78
76 // Returns which category order to use according to kCategoryOrder feature. 79 // Returns which category order to use according to kCategoryOrder feature.
77 CategoryOrderChoice GetSelectedCategoryOrder(); 80 CategoryOrderChoice GetSelectedCategoryOrder();
78 81
79 } // namespace ntp_snippets 82 } // namespace ntp_snippets
80 83
81 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_ 84 #endif // COMPONENTS_NTP_SNIPPETS_FEATURES_H_
OLDNEW
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | components/ntp_snippets/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698