| OLD | NEW |
| 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 1909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1920 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1921 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, | 1921 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, |
| 1922 {"enable-ntp-physical-web-page-suggestions", | 1922 {"enable-ntp-physical-web-page-suggestions", |
| 1923 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, | 1923 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, |
| 1924 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1924 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1925 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)}, | 1925 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)}, |
| 1926 {"enable-ntp-foreign-sessions-suggestions", | 1926 {"enable-ntp-foreign-sessions-suggestions", |
| 1927 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_NAME, | 1927 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_NAME, |
| 1928 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1928 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1929 FEATURE_VALUE_TYPE(ntp_snippets::kForeignSessionsSuggestionsFeature)}, | 1929 FEATURE_VALUE_TYPE(ntp_snippets::kForeignSessionsSuggestionsFeature)}, |
| 1930 {"ntp-standalone-suggestions-ui", | |
| 1931 IDS_FLAGS_ENABLE_NTP_STANDALONE_SUGGESTIONS_UI_NAME, | |
| 1932 IDS_FLAGS_ENABLE_NTP_STANDALONE_SUGGESTIONS_UI_DESCRIPTION, kOsAndroid, | |
| 1933 FEATURE_VALUE_TYPE(chrome::android::kNTPSuggestionsStandaloneUIFeature)}, | |
| 1934 {"enable-ntp-suggestions-notifications", | 1930 {"enable-ntp-suggestions-notifications", |
| 1935 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_NAME, | 1931 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_NAME, |
| 1936 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_DESCRIPTION, kOsAndroid, | 1932 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_DESCRIPTION, kOsAndroid, |
| 1937 FEATURE_WITH_VARIATIONS_VALUE_TYPE( | 1933 FEATURE_WITH_VARIATIONS_VALUE_TYPE( |
| 1938 params::ntp_snippets::kNotificationsFeature, | 1934 params::ntp_snippets::kNotificationsFeature, |
| 1939 kContentSuggestionsNotificationsFeatureVariations, | 1935 kContentSuggestionsNotificationsFeatureVariations, |
| 1940 ntp_snippets::kStudyName)}, | 1936 ntp_snippets::kStudyName)}, |
| 1941 {"ntp-condensed-layout", IDS_FLAGS_NTP_CONDENSED_LAYOUT_NAME, | 1937 {"ntp-condensed-layout", IDS_FLAGS_NTP_CONDENSED_LAYOUT_NAME, |
| 1942 IDS_FLAGS_NTP_CONDENSED_LAYOUT_DESCRIPTION, kOsAndroid, | 1938 IDS_FLAGS_NTP_CONDENSED_LAYOUT_DESCRIPTION, kOsAndroid, |
| 1943 FEATURE_VALUE_TYPE(chrome::android::kNTPCondensedLayoutFeature)}, | 1939 FEATURE_VALUE_TYPE(chrome::android::kNTPCondensedLayoutFeature)}, |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2533 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2529 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2534 | 2530 |
| 2535 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2531 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2536 *count = arraysize(kFeatureEntries); | 2532 *count = arraysize(kFeatureEntries); |
| 2537 return kFeatureEntries; | 2533 return kFeatureEntries; |
| 2538 } | 2534 } |
| 2539 | 2535 |
| 2540 } // namespace testing | 2536 } // namespace testing |
| 2541 | 2537 |
| 2542 } // namespace about_flags | 2538 } // namespace about_flags |
| OLD | NEW |