| Index: content/browser/notifications/notification_database_data.h
|
| diff --git a/content/browser/notifications/notification_database_data.h b/content/browser/notifications/notification_database_data.h
|
| deleted file mode 100644
|
| index ea4bf3874fe7624e73de8d3cdd024bd17266ca5e..0000000000000000000000000000000000000000
|
| --- a/content/browser/notifications/notification_database_data.h
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_DATABASE_DATA_H_
|
| -#define CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_DATABASE_DATA_H_
|
| -
|
| -#include <stdint.h>
|
| -
|
| -#include "content/common/content_export.h"
|
| -#include "content/public/common/platform_notification_data.h"
|
| -#include "url/gurl.h"
|
| -
|
| -namespace content {
|
| -
|
| -// Stores information about a Web Notification as available in the notification
|
| -// database. Beyond the notification's own data, its id and attribution need
|
| -// to be available for users of the database as well.
|
| -struct CONTENT_EXPORT NotificationDatabaseData {
|
| - NotificationDatabaseData();
|
| - ~NotificationDatabaseData();
|
| -
|
| - // Parses the serialized notification database data |input| into this object.
|
| - bool ParseFromString(const std::string& input);
|
| -
|
| - // Serializes the contents of this object to |output|. Returns if the data
|
| - // could be serialized successfully.
|
| - bool SerializeToString(std::string* output) const;
|
| -
|
| - // Id of the notification as allocated by the NotificationDatabase.
|
| - int64_t notification_id;
|
| -
|
| - // Origin of the website this notification is associated with.
|
| - GURL origin;
|
| -
|
| - // Id of the Service Worker registration this notification is associated with.
|
| - int64_t service_worker_registration_id;
|
| -
|
| - // Platform data of the notification that's being stored.
|
| - PlatformNotificationData notification_data;
|
| -};
|
| -
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_BROWSER_NOTIFICATIONS_NOTIFICATION_DATABASE_DATA_H_
|
|
|