Index: content/public/common/platform_notification_data.h |
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h |
index 5b608c0d3b2b5d668b2978a1461743be45e3b39c..f6c999d82be080941bdcfdcc79322b6b282ce70e 100644 |
--- a/content/public/common/platform_notification_data.h |
+++ b/content/public/common/platform_notification_data.h |
@@ -6,7 +6,6 @@ |
#define CONTENT_PUBLIC_COMMON_PLATFORM_NOTIFICATION_DATA_H_ |
#include <string> |
-#include <vector> |
#include "base/strings/string16.h" |
#include "content/common/content_export.h" |
@@ -21,10 +20,6 @@ struct CONTENT_EXPORT PlatformNotificationData { |
PlatformNotificationData(); |
~PlatformNotificationData(); |
- // The maximum size of developer-provided data to be stored in the |data| |
- // property of this structure. |
- static const size_t kMaximumDeveloperDataSize = 1024 * 1024; |
- |
enum NotificationDirection { |
NotificationDirectionLeftToRight, |
NotificationDirectionRightToLeft, |
@@ -36,7 +31,7 @@ struct CONTENT_EXPORT PlatformNotificationData { |
base::string16 title; |
// Hint to determine the directionality of the displayed notification. |
- NotificationDirection direction = NotificationDirectionLeftToRight; |
+ NotificationDirection direction; |
// BCP 47 language tag describing the notification's contents. Optional. |
std::string lang; |
@@ -53,11 +48,7 @@ struct CONTENT_EXPORT PlatformNotificationData { |
// Whether default notification indicators (sound, vibration, light) should |
// be suppressed. |
- bool silent = false; |
- |
- // Developer-provided data associated with the notification, in the form of |
- // a serialized string. Must not exceed |kMaximumDeveloperDataSize| bytes. |
- std::vector<char> data; |
+ bool silent; |
}; |
} // namespace content |