| 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 1916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1927 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1927 IDS_FLAGS_ENABLE_NTP_BOOKMARK_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1928 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, | 1928 FEATURE_VALUE_TYPE(ntp_snippets::kBookmarkSuggestionsFeature)}, |
| 1929 {"enable-ntp-physical-web-page-suggestions", | 1929 {"enable-ntp-physical-web-page-suggestions", |
| 1930 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, | 1930 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_NAME, |
| 1931 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1931 IDS_FLAGS_ENABLE_NTP_PHYSICAL_WEB_PAGE_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1932 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)}, | 1932 FEATURE_VALUE_TYPE(ntp_snippets::kPhysicalWebPageSuggestionsFeature)}, |
| 1933 {"enable-ntp-foreign-sessions-suggestions", | 1933 {"enable-ntp-foreign-sessions-suggestions", |
| 1934 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_NAME, | 1934 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_NAME, |
| 1935 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_DESCRIPTION, kOsAndroid, | 1935 IDS_FLAGS_ENABLE_NTP_FOREIGN_SESSIONS_SUGGESTIONS_DESCRIPTION, kOsAndroid, |
| 1936 FEATURE_VALUE_TYPE(ntp_snippets::kForeignSessionsSuggestionsFeature)}, | 1936 FEATURE_VALUE_TYPE(ntp_snippets::kForeignSessionsSuggestionsFeature)}, |
| 1937 {"ntp-standalone-suggestions-ui", | |
| 1938 IDS_FLAGS_ENABLE_NTP_STANDALONE_SUGGESTIONS_UI_NAME, | |
| 1939 IDS_FLAGS_ENABLE_NTP_STANDALONE_SUGGESTIONS_UI_DESCRIPTION, kOsAndroid, | |
| 1940 FEATURE_VALUE_TYPE(chrome::android::kNTPSuggestionsStandaloneUIFeature)}, | |
| 1941 {"enable-ntp-suggestions-notifications", | 1937 {"enable-ntp-suggestions-notifications", |
| 1942 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_NAME, | 1938 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_NAME, |
| 1943 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_DESCRIPTION, kOsAndroid, | 1939 IDS_FLAGS_ENABLE_NTP_SUGGESTIONS_NOTIFICATIONS_DESCRIPTION, kOsAndroid, |
| 1944 FEATURE_WITH_VARIATIONS_VALUE_TYPE( | 1940 FEATURE_WITH_VARIATIONS_VALUE_TYPE( |
| 1945 params::ntp_snippets::kNotificationsFeature, | 1941 params::ntp_snippets::kNotificationsFeature, |
| 1946 kContentSuggestionsNotificationsFeatureVariations, | 1942 kContentSuggestionsNotificationsFeatureVariations, |
| 1947 ntp_snippets::kStudyName)}, | 1943 ntp_snippets::kStudyName)}, |
| 1948 {"ntp-condensed-layout", IDS_FLAGS_NTP_CONDENSED_LAYOUT_NAME, | 1944 {"ntp-condensed-layout", IDS_FLAGS_NTP_CONDENSED_LAYOUT_NAME, |
| 1949 IDS_FLAGS_NTP_CONDENSED_LAYOUT_DESCRIPTION, kOsAndroid, | 1945 IDS_FLAGS_NTP_CONDENSED_LAYOUT_DESCRIPTION, kOsAndroid, |
| 1950 FEATURE_VALUE_TYPE(chrome::android::kNTPCondensedLayoutFeature)}, | 1946 FEATURE_VALUE_TYPE(chrome::android::kNTPCondensedLayoutFeature)}, |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2517 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2513 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2518 | 2514 |
| 2519 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2515 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2520 *count = arraysize(kFeatureEntries); | 2516 *count = arraysize(kFeatureEntries); |
| 2521 return kFeatureEntries; | 2517 return kFeatureEntries; |
| 2522 } | 2518 } |
| 2523 | 2519 |
| 2524 } // namespace testing | 2520 } // namespace testing |
| 2525 | 2521 |
| 2526 } // namespace about_flags | 2522 } // namespace about_flags |
| OLD | NEW |