// Copyright 2016 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_NOTIFICATION_COMMON_H_ #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_COMMON_H_ #include "base/feature_list.h" #include "chrome/browser/notifications/notification_handler.h" #include "url/gurl.h" class GURL; class Profile; // Shared functionality for both in page and persistent notification class NotificationCommon { … }; // Metadata for PERSISTENT notifications. struct PersistentNotificationMetadata : public NotificationCommon::Metadata { … }; // Metadata for NON_PERSISTENT notifications. struct NonPersistentNotificationMetadata : public NotificationCommon::Metadata { … }; #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_COMMON_H_