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

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

Issue 2094453003: Enable UMA tracking of --enable-experimental-web-platform-features (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | tools/metrics/actions/actions.xml » ('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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 0, 763 0,
764 #endif 764 #endif
765 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer)}, 765 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableSoftwareRasterizer)},
766 {"enable-gpu-rasterization", IDS_FLAGS_GPU_RASTERIZATION_NAME, 766 {"enable-gpu-rasterization", IDS_FLAGS_GPU_RASTERIZATION_NAME,
767 IDS_FLAGS_GPU_RASTERIZATION_DESCRIPTION, kOsAll, 767 IDS_FLAGS_GPU_RASTERIZATION_DESCRIPTION, kOsAll,
768 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)}, 768 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)},
769 {"gpu-rasterization-msaa-sample-count", 769 {"gpu-rasterization-msaa-sample-count",
770 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME, 770 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_NAME,
771 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, kOsAll, 771 IDS_FLAGS_GPU_RASTERIZATION_MSAA_SAMPLE_COUNT_DESCRIPTION, kOsAll,
772 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices)}, 772 MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices)},
773 {"enable-experimental-web-platform-features", 773 {"enable-experimental-web-platform-features", // FLAGS:RECORD_UMA
774 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, 774 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME,
775 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, kOsAll, 775 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, kOsAll,
776 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)}, 776 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)},
777 {"enable-web-bluetooth", IDS_FLAGS_WEB_BLUETOOTH_NAME, 777 {"enable-web-bluetooth", IDS_FLAGS_WEB_BLUETOOTH_NAME,
778 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION, 778 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION,
779 kOsCrOS | kOsMac | kOsAndroid | kOsLinux, 779 kOsCrOS | kOsMac | kOsAndroid | kOsLinux,
780 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)}, 780 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)},
781 #if defined(ENABLE_EXTENSIONS) 781 #if defined(ENABLE_EXTENSIONS)
782 {"enable-ble-advertising-in-apps", 782 {"enable-ble-advertising-in-apps",
783 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME, 783 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME,
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
2152 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2152 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2153 2153
2154 const FeatureEntry* GetFeatureEntries(size_t* count) { 2154 const FeatureEntry* GetFeatureEntries(size_t* count) {
2155 *count = arraysize(kFeatureEntries); 2155 *count = arraysize(kFeatureEntries);
2156 return kFeatureEntries; 2156 return kFeatureEntries;
2157 } 2157 }
2158 2158
2159 } // namespace testing 2159 } // namespace testing
2160 2160
2161 } // namespace about_flags 2161 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698