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

Unified Diff: chrome/common/url_constants.cc

Issue 2344133003: Add help link when Bluetooth adapter is off for WebBluetooth chooser (Closed)
Patch Set: rebase Created 4 years, 3 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
Index: chrome/common/url_constants.cc
diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc
index b94d56a6974a1dec1d172df3359c0a87e6ccd28b..ff0d59361d31b4b2c5a7f4f8da31e6c9897ce174 100644
--- a/chrome/common/url_constants.cc
+++ b/chrome/common/url_constants.cc
@@ -782,4 +782,17 @@ const char kChooserUsbOverviewURL[] =
const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/";
#endif
+const char kBluetoothAdapterOffHelpURL[] =
+#if defined(OS_CHROMEOS)
+ "chrome://settings/search#Bluetooth";
+#elif defined(OS_LINUX)
+ "https://help.ubuntu.com/stable/ubuntu-help/bluetooth-turn-on-off.html";
+#elif defined(OS_MACOSX)
+ "https://support.apple.com/kb/PH18971?locale=en_US";
+#elif defined(OS_WIN)
+ "https://support.microsoft.com/en-us/search?query=Bluetooth";
+#else
+ "";
+#endif
+
} // namespace chrome
« chrome/browser/ui/views/chooser_content_view.cc ('K') | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698