| Index: ui/arc/notification/arc_notification_manager.cc
|
| diff --git a/ui/arc/notification/arc_notification_manager.cc b/ui/arc/notification/arc_notification_manager.cc
|
| index 556f18a3860d6483a8f989f663b0778c0d0cd42e..ec72381cf210ba331dc3b48673a39b7b7b413797 100644
|
| --- a/ui/arc/notification/arc_notification_manager.cc
|
| +++ b/ui/arc/notification/arc_notification_manager.cc
|
| @@ -240,6 +240,12 @@ void ArcNotificationManager::OpenNotificationSettings(const std::string& key) {
|
| notifications_instance->OpenNotificationSettings(key);
|
| }
|
|
|
| +bool ArcNotificationManager::IsOpeningSettingsSupported() const {
|
| + const auto* notifications_instance = ARC_GET_INSTANCE_FOR_METHOD(
|
| + arc_bridge_service()->notifications(), OpenNotificationSettings);
|
| + return notifications_instance != nullptr;
|
| +}
|
| +
|
| void ArcNotificationManager::OnToastPosted(mojom::ArcToastDataPtr data) {
|
| const base::string16 text16(
|
| base::UTF8ToUTF16(data->text.has_value() ? *data->text : std::string()));
|
|
|