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

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

Issue 2593573003: Ntp: use AMP urls for content suggestions when available. (Closed)
Patch Set: Address review comments by vitalii. Created 3 years, 12 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/features.h ('k') | components/ntp_snippets/remote/ntp_snippet.h » ('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 #include "components/ntp_snippets/features.h" 5 #include "components/ntp_snippets/features.h"
6 6
7 #include "components/variations/variations_associated_data.h" 7 #include "components/variations/variations_associated_data.h"
8 8
9 namespace ntp_snippets { 9 namespace ntp_snippets {
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 const base::Feature kSectionDismissalFeature{ 35 const base::Feature kSectionDismissalFeature{
36 "NTPSuggestionsSectionDismissal", base::FEATURE_ENABLED_BY_DEFAULT}; 36 "NTPSuggestionsSectionDismissal", base::FEATURE_ENABLED_BY_DEFAULT};
37 37
38 const base::Feature kForeignSessionsSuggestionsFeature{ 38 const base::Feature kForeignSessionsSuggestionsFeature{
39 "NTPForeignSessionsSuggestions", base::FEATURE_DISABLED_BY_DEFAULT}; 39 "NTPForeignSessionsSuggestions", base::FEATURE_DISABLED_BY_DEFAULT};
40 40
41 const base::Feature kFetchMoreFeature{"NTPSuggestionsFetchMore", 41 const base::Feature kFetchMoreFeature{"NTPSuggestionsFetchMore",
42 base::FEATURE_ENABLED_BY_DEFAULT}; 42 base::FEATURE_ENABLED_BY_DEFAULT};
43 43
44 const base::Feature kPreferAmpUrlsFeature{"NTPPreferAmpUrls",
45 base::FEATURE_ENABLED_BY_DEFAULT};
46
44 } // namespace ntp_snippets 47 } // namespace ntp_snippets
OLDNEW
« no previous file with comments | « components/ntp_snippets/features.h ('k') | components/ntp_snippets/remote/ntp_snippet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698