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

Unified Diff: chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc

Issue 1661063002: Add message and Help Center link to the chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed some typos Created 4 years, 10 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/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
index 7db53f219718fc244b83ae32966e3166541fc39e..16f8405bfd1db94759fa599b0c2fb0c2839417b1 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
@@ -6,7 +6,9 @@
#include "base/stl_util.h"
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h"
+#include "chrome/common/url_constants.h"
#include "components/bubble/bubble_controller.h"
+#include "url/gurl.h"
BluetoothChooserBubbleDelegate::BluetoothChooserBubbleDelegate(
content::RenderFrameHost* owner)
@@ -56,6 +58,10 @@ void BluetoothChooserBubbleDelegate::Close() {
}
}
+GURL BluetoothChooserBubbleDelegate::GetHelpCenterURL() const {
+ return GURL(chrome::kWebBluetoothHelpCenterURL);
+}
+
void BluetoothChooserBubbleDelegate::AddDevice(
const std::string& device_id,
const base::string16& device_name) {

Powered by Google App Engine
This is Rietveld 408576698