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

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

Issue 1968653002: Rename flags for Origin Trials framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 {"enable-md-extensions", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_NAME, 1699 {"enable-md-extensions", IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_NAME,
1700 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_DESCRIPTION, kOsDesktop, 1700 IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_DESCRIPTION, kOsDesktop,
1701 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignExtensions)}, 1701 SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignExtensions)},
1702 #endif 1702 #endif
1703 #if defined(OS_WIN) || defined(OS_LINUX) 1703 #if defined(OS_WIN) || defined(OS_LINUX)
1704 {"enable-input-ime-api", IDS_FLAGS_ENABLE_INPUT_IME_API_NAME, 1704 {"enable-input-ime-api", IDS_FLAGS_ENABLE_INPUT_IME_API_NAME,
1705 IDS_FLAGS_ENABLE_INPUT_IME_API_DESCRIPTION, kOsWin | kOsLinux, 1705 IDS_FLAGS_ENABLE_INPUT_IME_API_DESCRIPTION, kOsWin | kOsLinux,
1706 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableInputImeAPI, 1706 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableInputImeAPI,
1707 switches::kDisableInputImeAPI)}, 1707 switches::kDisableInputImeAPI)},
1708 #endif // defined(OS_WIN) || defined(OS_LINUX) 1708 #endif // defined(OS_WIN) || defined(OS_LINUX)
1709 {"enable-experimental-framework", IDS_FLAGS_EXPERIMENTAL_FRAMEWORK_NAME, 1709 {"enable-origin-trials", IDS_FLAGS_ORIGIN_TRIALS_NAME,
1710 IDS_FLAGS_EXPERIMENTAL_FRAMEWORK_DESCRIPTION, kOsAll, 1710 IDS_FLAGS_ORIGIN_TRIALS_DESCRIPTION, kOsAll,
1711 FEATURE_VALUE_TYPE(features::kExperimentalFramework)}, 1711 FEATURE_VALUE_TYPE(features::kOriginTrials)},
1712 {"enable-brotli", IDS_FLAGS_ENABLE_BROTLI_NAME, 1712 {"enable-brotli", IDS_FLAGS_ENABLE_BROTLI_NAME,
1713 IDS_FLAGS_ENABLE_BROTLI_DESCRIPTION, kOsAll, 1713 IDS_FLAGS_ENABLE_BROTLI_DESCRIPTION, kOsAll,
1714 FEATURE_VALUE_TYPE(features::kBrotliEncoding)}, 1714 FEATURE_VALUE_TYPE(features::kBrotliEncoding)},
1715 {"enable-webusb", IDS_FLAGS_ENABLE_WEB_USB_NAME, 1715 {"enable-webusb", IDS_FLAGS_ENABLE_WEB_USB_NAME,
1716 IDS_FLAGS_ENABLE_WEB_USB_DESCRIPTION, kOsAll, 1716 IDS_FLAGS_ENABLE_WEB_USB_DESCRIPTION, kOsAll,
1717 FEATURE_VALUE_TYPE(features::kWebUsb)}, 1717 FEATURE_VALUE_TYPE(features::kWebUsb)},
1718 #if defined(OS_ANDROID) 1718 #if defined(OS_ANDROID)
1719 {"disable-unified-media-pipeline", 1719 {"disable-unified-media-pipeline",
1720 IDS_FLAGS_DISABLE_UNIFIED_MEDIA_PIPELINE_NAME, 1720 IDS_FLAGS_DISABLE_UNIFIED_MEDIA_PIPELINE_NAME,
1721 IDS_FLAGS_DISABLE_UNIFIED_MEDIA_PIPELINE_DESCRIPTION, kOsAndroid, 1721 IDS_FLAGS_DISABLE_UNIFIED_MEDIA_PIPELINE_DESCRIPTION, kOsAndroid,
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2046 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2046 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2047 2047
2048 const FeatureEntry* GetFeatureEntries(size_t* count) { 2048 const FeatureEntry* GetFeatureEntries(size_t* count) {
2049 *count = arraysize(kFeatureEntries); 2049 *count = arraysize(kFeatureEntries);
2050 return kFeatureEntries; 2050 return kFeatureEntries;
2051 } 2051 }
2052 2052
2053 } // namespace testing 2053 } // namespace testing
2054 2054
2055 } // namespace about_flags 2055 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698