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

Unified Diff: ash/common/system/tray/system_tray_controller.cc

Issue 2764643003: cros: Move TrayBluetoothHelper out of chrome into ash (Closed)
Patch Set: rebase fix Created 3 years, 9 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 | « ash/common/system/tray/system_tray_controller.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_controller.cc
diff --git a/ash/common/system/tray/system_tray_controller.cc b/ash/common/system/tray/system_tray_controller.cc
index c62dc0765ec5ebf0dd8ab546aa03f69d1a575ca4..547ac9943c3ae7afb074562f54913e3331af1f4c 100644
--- a/ash/common/system/tray/system_tray_controller.cc
+++ b/ash/common/system/tray/system_tray_controller.cc
@@ -28,6 +28,17 @@ void SystemTrayController::ShowBluetoothSettings() {
system_tray_client_->ShowBluetoothSettings();
}
+void SystemTrayController::ShowBluetoothPairingDialog(
+ const std::string& address,
+ const base::string16& name_for_display,
+ bool paired,
+ bool connected) {
+ if (system_tray_client_) {
+ system_tray_client_->ShowBluetoothPairingDialog(address, name_for_display,
+ paired, connected);
+ }
+}
+
void SystemTrayController::ShowDateSettings() {
if (system_tray_client_)
system_tray_client_->ShowDateSettings();
« no previous file with comments | « ash/common/system/tray/system_tray_controller.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698