Index: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h |
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h |
index cb8013a8323f196f799922e5cfc6f76729faea3d..ee7f3a948308b9f3c251cca69d7a9565c57a59c2 100644 |
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h |
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h |
@@ -77,8 +77,12 @@ public: |
// Same |boundary| needs to used for all generateMHTMLHeader and |
// generateMHTMLPart and generateMHTMLFooter calls that belong to the same |
// MHTML document (see also generateMHTMLBoundary method). |
+ // |
+ // If |contentID| is non-empty, then it will be used as a Content-ID header. |
+ // See rfc2557 - section 8.3 - "Use of the Content-ID header and CID URLs". |
static void generateMHTMLPart( |
- const String& boundary, EncodingPolicy, const SerializedResource&, |
+ const String& boundary, const String& contentID, |
+ EncodingPolicy, const SerializedResource&, |
SharedBuffer& outputBuffer); |
// Generates an MHTML footer and appends it to |outputBuffer|. |