notification_interaction_handler_impl.cc 781 B

123456789101112131415161718192021222324
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/components/phonehub/notification_interaction_handler_impl.h"
  5. #include "ash/components/phonehub/notification.h"
  6. #include "base/logging.h"
  7. namespace ash {
  8. namespace phonehub {
  9. NotificationInteractionHandlerImpl::NotificationInteractionHandlerImpl() {}
  10. NotificationInteractionHandlerImpl::~NotificationInteractionHandlerImpl() =
  11. default;
  12. void NotificationInteractionHandlerImpl::HandleNotificationClicked(
  13. int64_t notification_id,
  14. const Notification::AppMetadata& app_metadata) {
  15. NotifyNotificationClicked(notification_id, app_metadata);
  16. }
  17. } // namespace phonehub
  18. } // namespace ash