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

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: merged changes from master and resolved conflicts 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..d1092435d8980b1016dca218b6a27e7d401f30e8 100644
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.cc
@@ -5,7 +5,9 @@
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_bubble_delegate.h"
#include "base/stl_util.h"
+#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/bluetooth/bluetooth_chooser_desktop.h"
+#include "chrome/common/url_constants.h"
#include "components/bubble/bubble_controller.h"
BluetoothChooserBubbleDelegate::BluetoothChooserBubbleDelegate(
@@ -56,6 +58,10 @@ void BluetoothChooserBubbleDelegate::Close() {
}
}
+base::string16 BluetoothChooserBubbleDelegate::GetHelpCenterUrl() const {
+ return base::ASCIIToUTF16(chrome::kChooserBluetoothOverviewURL);
msw 2016/02/22 20:13:11 Avoid converting to string16 before creating the G
juncai 2016/02/22 22:06:37 Explained in another comment for why using base::s
+}
+
void BluetoothChooserBubbleDelegate::AddDevice(
const std::string& device_id,
const base::string16& device_name) {

Powered by Google App Engine
This is Rietveld 408576698