Index: content/public/common/manifest.h |
diff --git a/content/public/common/manifest.h b/content/public/common/manifest.h |
index 889dd4c2bd0bfd9395642dc41dcc1ff1927abbfb..4ee0957d434173ad2726af569df35bd671fae005 100644 |
--- a/content/public/common/manifest.h |
+++ b/content/public/common/manifest.h |
@@ -26,6 +26,11 @@ struct CONTENT_EXPORT Manifest { |
// Null if the parsing failed or the field was not present. |
base::NullableString16 short_name; |
+ |
+ // Maximum length for all the strings inside the Manifest when it is sent over |
+ // IPC. The renderer process should truncate the strings before sending the |
+ // Manifest and the browser process must do the same when receiving it. |
+ static const size_t kMaxIPCStringLength; |
}; |
} // namespace content |