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

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

Issue 2096883003: bluetooth: Enable UMA tracking of --enable-web-bluetooth flag (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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
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", // FLAGS:RECORD_UMA
778 IDS_FLAGS_WEB_BLUETOOTH_NAME,
778 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION, 779 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION,
779 kOsCrOS | kOsMac | kOsAndroid | kOsLinux, 780 kOsCrOS | kOsMac | kOsAndroid | kOsLinux,
780 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)}, 781 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)},
781 #if defined(ENABLE_EXTENSIONS) 782 #if defined(ENABLE_EXTENSIONS)
782 {"enable-ble-advertising-in-apps", 783 {"enable-ble-advertising-in-apps",
783 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME, 784 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME,
784 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_DESCRIPTION, kOsCrOS, 785 IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_DESCRIPTION, kOsCrOS,
785 SINGLE_VALUE_TYPE(extensions::switches::kEnableBLEAdvertising)}, 786 SINGLE_VALUE_TYPE(extensions::switches::kEnableBLEAdvertising)},
786 #endif 787 #endif
787 {"enable-devtools-experiments", IDS_FLAGS_DEVTOOLS_EXPERIMENTS_NAME, 788 {"enable-devtools-experiments", IDS_FLAGS_DEVTOOLS_EXPERIMENTS_NAME,
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
2152 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2153 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2153 2154
2154 const FeatureEntry* GetFeatureEntries(size_t* count) { 2155 const FeatureEntry* GetFeatureEntries(size_t* count) {
2155 *count = arraysize(kFeatureEntries); 2156 *count = arraysize(kFeatureEntries);
2156 return kFeatureEntries; 2157 return kFeatureEntries;
2157 } 2158 }
2158 2159
2159 } // namespace testing 2160 } // namespace testing
2160 2161
2161 } // namespace about_flags 2162 } // 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