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

Unified Diff: chrome/browser/about_flags.cc

Issue 1090693003: Added platform restrictions to bluetooth API documentation (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 10e0f4b8906f05081e47d042ecd19ac0c0adc17d..3c61019f732a29b0e5615693a7a8f75826a55230 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -829,11 +829,13 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_EXPERIMENTAL_WEB_PLATFORM_FEATURES_DESCRIPTION,
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)},
+#if defined(OS_CHROMEOS) || defined(OS_MACOSX) || defined(OS_ANDROID)
{"enable-web-bluetooth",
IDS_FLAGS_WEB_BLUETOOTH_NAME,
IDS_FLAGS_WEB_BLUETOOTH_DESCRIPTION,
- kOsAll,
+ kOsCrOS | kOsMac | kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableWebBluetooth)},
+#endif
#if defined(ENABLE_EXTENSIONS)
{"enable-ble-advertising-in-apps",
IDS_FLAGS_BLE_ADVERTISING_IN_EXTENSIONS_NAME,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698