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

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

Issue 2289183005: [WeakMemoryCache] Cleanup Field-Trial code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 3 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/app/generated_resources.grd ('k') | content/child/runtime_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 (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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 #if defined(OS_ANDROID) 2011 #if defined(OS_ANDROID)
2012 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME, 2012 {"enable-vr-shell", IDS_FLAGS_ENABLE_VR_SHELL_NAME,
2013 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, 2013 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid,
2014 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell, 2014 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell,
2015 switches::kDisableVrShell)}, 2015 switches::kDisableVrShell)},
2016 {"enable-android-pay-integration-v1", 2016 {"enable-android-pay-integration-v1",
2017 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME, 2017 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME,
2018 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid, 2018 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid,
2019 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)}, 2019 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)},
2020 #endif 2020 #endif
2021 {"enable-weak-memorycache", IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME,
2022 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll,
2023 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)},
2024 #if defined(OS_CHROMEOS) 2021 #if defined(OS_CHROMEOS)
2025 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME, 2022 {"disable-eol-notification", IDS_FLAGS_EOL_NOTIFICATION_NAME,
2026 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS, 2023 IDS_FLAGS_EOL_NOTIFICATION_DESCRIPTION, kOsCrOS,
2027 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)}, 2024 SINGLE_DISABLE_VALUE_TYPE(chromeos::switches::kDisableEolNotification)},
2028 #endif // defined(OS_CHROMEOS) 2025 #endif // defined(OS_CHROMEOS)
2029 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME, 2026 {"fill-on-account-select", IDS_FILL_ON_ACCOUNT_SELECT_NAME,
2030 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll, 2027 IDS_FILL_ON_ACCOUNT_SELECT_DESCRIPTION, kOsAll,
2031 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)}, 2028 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)},
2032 {"new-audio-rendering-mixing-strategy", 2029 {"new-audio-rendering-mixing-strategy",
2033 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME, 2030 IDS_NEW_AUDIO_RENDERING_MIXING_STRATEGY_NAME,
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2239 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2243 2240
2244 const FeatureEntry* GetFeatureEntries(size_t* count) { 2241 const FeatureEntry* GetFeatureEntries(size_t* count) {
2245 *count = arraysize(kFeatureEntries); 2242 *count = arraysize(kFeatureEntries);
2246 return kFeatureEntries; 2243 return kFeatureEntries;
2247 } 2244 }
2248 2245
2249 } // namespace testing 2246 } // namespace testing
2250 2247
2251 } // namespace about_flags 2248 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698