// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PUSH_NOTIFICATION_PUSH_NOTIFICATION_CLIENT_H_ #define COMPONENTS_PUSH_NOTIFICATION_PUSH_NOTIFICATION_CLIENT_H_ #include <string> #include "base/containers/flat_map.h" #include "components/push_notification/push_notification_client_id.h" namespace push_notification { // Base class for PushNotificationService clients to. Each feature that uses the // PushNotificationService must create its own PushNotificationClient and // implement the OnMessageReceived functionality. PushNotificationClient must // register with the PushNotificationService to begin receiving messages. class PushNotificationClient { … }; } // namespace push_notification #endif // COMPONENTS_PUSH_NOTIFICATION_PUSH_NOTIFICATION_CLIENT_H_