// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_NOTIFICATIONS_PROFILE_NOTIFICATION_H_ #define CHROME_BROWSER_NOTIFICATIONS_PROFILE_NOTIFICATION_H_ #include <string> #include "base/memory/raw_ptr.h" #include "chrome/browser/notifications/notification_common.h" #include "ui/message_center/public/cpp/notification.h" class Profile; class ScopedKeepAlive; class ScopedProfileKeepAlive; // This class keeps a Notification object and its corresponding Profile. It // permutes the notification's ID to include a profile identifier so that two // notifications with identical IDs and different source Profiles can be // distinguished. This is necessary because the MessageCenter as well as native // notification services have no notion of the profile. class ProfileNotification { … }; #endif // CHROME_BROWSER_NOTIFICATIONS_PROFILE_NOTIFICATION_H_