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

Side by Side Diff: chrome/browser/about_flags.cc

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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 flag_descriptions::kContentSuggestionsCategoryRankerDescription, 1981 flag_descriptions::kContentSuggestionsCategoryRankerDescription,
1982 kOsAndroid, 1982 kOsAndroid,
1983 FEATURE_WITH_PARAMS_VALUE_TYPE( 1983 FEATURE_WITH_PARAMS_VALUE_TYPE(
1984 ntp_snippets::kCategoryRanker, 1984 ntp_snippets::kCategoryRanker,
1985 kContentSuggestionsCategoryRankerFeatureVariations, 1985 kContentSuggestionsCategoryRankerFeatureVariations,
1986 ntp_snippets::kStudyName)}, 1986 ntp_snippets::kStudyName)},
1987 {"enable-ntp-snippets-increased-visibility", 1987 {"enable-ntp-snippets-increased-visibility",
1988 flag_descriptions::kEnableNtpSnippetsVisibilityName, 1988 flag_descriptions::kEnableNtpSnippetsVisibilityName,
1989 flag_descriptions::kEnableNtpSnippetsVisibilityDescription, kOsAndroid, 1989 flag_descriptions::kEnableNtpSnippetsVisibilityDescription, kOsAndroid,
1990 FEATURE_VALUE_TYPE(ntp_snippets::kIncreasedVisibility)}, 1990 FEATURE_VALUE_TYPE(ntp_snippets::kIncreasedVisibility)},
1991 {"enable-content-suggestions-new-favicon-server",
1992 flag_descriptions::kEnableContentSuggestionsNewFaviconServerName,
1993 flag_descriptions::kEnableContentSuggestionsNewFaviconServerDescription,
1994 kOsAndroid,
1995 FEATURE_VALUE_TYPE(ntp_snippets::kPublisherFaviconsFromNewServerFeature)},
1991 {"enable-ntp-save-to-offline", 1996 {"enable-ntp-save-to-offline",
1992 flag_descriptions::kEnableNtpSaveToOfflineName, 1997 flag_descriptions::kEnableNtpSaveToOfflineName,
1993 flag_descriptions::kEnableNtpSaveToOfflineDescription, kOsAndroid, 1998 flag_descriptions::kEnableNtpSaveToOfflineDescription, kOsAndroid,
1994 FEATURE_VALUE_TYPE(ntp_snippets::kSaveToOfflineFeature)}, 1999 FEATURE_VALUE_TYPE(ntp_snippets::kSaveToOfflineFeature)},
1995 {"enable-ntp-offline-badge", flag_descriptions::kEnableNtpOfflineBadgeName, 2000 {"enable-ntp-offline-badge", flag_descriptions::kEnableNtpOfflineBadgeName,
1996 flag_descriptions::kEnableNtpOfflineBadgeDescription, kOsAndroid, 2001 flag_descriptions::kEnableNtpOfflineBadgeDescription, kOsAndroid,
1997 FEATURE_VALUE_TYPE(ntp_snippets::kOfflineBadgeFeature)}, 2002 FEATURE_VALUE_TYPE(ntp_snippets::kOfflineBadgeFeature)},
1998 {"enable-ntp-remote-suggestions", 2003 {"enable-ntp-remote-suggestions",
1999 flag_descriptions::kEnableNtpRemoteSuggestionsName, 2004 flag_descriptions::kEnableNtpRemoteSuggestionsName,
2000 flag_descriptions::kEnableNtpRemoteSuggestionsDescription, kOsAndroid, 2005 flag_descriptions::kEnableNtpRemoteSuggestionsDescription, kOsAndroid,
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
2697 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2702 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2698 2703
2699 const FeatureEntry* GetFeatureEntries(size_t* count) { 2704 const FeatureEntry* GetFeatureEntries(size_t* count) {
2700 *count = arraysize(kFeatureEntries); 2705 *count = arraysize(kFeatureEntries);
2701 return kFeatureEntries; 2706 return kFeatureEntries;
2702 } 2707 }
2703 2708
2704 } // namespace testing 2709 } // namespace testing
2705 2710
2706 } // namespace about_flags 2711 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698