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

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

Issue 1134473003: bluetooth: Add a WebBluetooth command line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to flag to histogram Created 5 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/startup/bad_flags_prompt.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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint) 853 SINGLE_VALUE_TYPE(switches::kEnableSlimmingPaint)
854 }, 854 },
855 { 855 {
856 "enable-experimental-web-platform-features", 856 "enable-experimental-web-platform-features",
857 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME, 857 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_NAME,
858 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION, 858 IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION,
859 kOsAll, 859 kOsAll,
860 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures) 860 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)
861 }, 861 },
862 { 862 {
863 "enable-web-bluetooth",
864 IDS_FLAGS_WEB_BLUETOOTH_NAME,
865 IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION,
866 kOsAll,
867 SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)
868 },
869 {
863 "enable-devtools-experiments", 870 "enable-devtools-experiments",
864 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, 871 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME,
865 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, 872 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION,
866 kOsDesktop, 873 kOsDesktop,
867 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments) 874 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)
868 }, 875 },
869 { 876 {
870 "silent-debugger-extension-api", 877 "silent-debugger-extension-api",
871 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME, 878 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME,
872 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION, 879 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION,
(...skipping 2128 matching lines...) Expand 10 before | Expand all | Expand 10 after
3001 } 3008 }
3002 3009
3003 const Experiment* GetExperiments(size_t* count) { 3010 const Experiment* GetExperiments(size_t* count) {
3004 *count = num_experiments; 3011 *count = num_experiments;
3005 return experiments; 3012 return experiments;
3006 } 3013 }
3007 3014
3008 } // namespace testing 3015 } // namespace testing
3009 3016
3010 } // namespace about_flags 3017 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/startup/bad_flags_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698